What will the following wildcard regular expression return: file[a-c]?

Cards Return to Set Details

Term
Definition
A metacharacter used to represent a user's home directory.
Term
Definition
The full pathname to a certain file or directory starting from the root directory.
Term
Definition
A file that contains machine language (binary 1s and 0s) and stores information (such as common functions and graphics) used by binary compiled programs.
Term
Definition
A Linux command used to display (or concatenate) the entire contents of a text file to the screen.
Term
cd (change directory) command
Definition
A Linux command used to change the current directory in the directory tree.
Term
Definition
One of the two modes in vi; it allows a user to perform any available text-editing task that is not related to inserting text into the document.
Term
Definition
The joining of text together to make one larger whole. In Linux, words and strings of text are joined together to form a displayed file.
Term
Definition
A special file on the filesystem used to organize other files into a logical tree structure.
Term
Definition
A variant of the grep command used to search files for patterns, using extended regular expressions.
Term
Emacs (Editor MACroS) editor
Definition
A popular and widespread text editor more conducive to word processing than vi. It was originally developed by Richard Stallman.
Term
Definition
A file that can be executed by the Linux operating system to run in memory as a process and perform a useful function.
Term
Definition
A variant of the grep command that does not allow the use of regular expressions.
Term
Definition
A Linux command that displays the file type of a specified filename.
Term
Definition
The user-friendly identifier given to a file.
Term
Definition
A series of identifiers following a dot ( . ) at the end of a filename, used to denote the type of the file; the filename extention .txt denotes a text file.
Term
Definition
A common text editor used within GUI environments.
Term
Definition
A Linux command that searches files for patterns of characters using regular expression metacharacters. The command name is short for “global regular expression print.”
Term
Definition
A Linux command that displays the first set of lines of a text file; by default, the head command displays the first 10 lines.
Term
Definition
A directory on the filesystem set aside for users to store personal files and information.
Term
Definition
One of the two modes in vi; it allows the user to insert text into the document but does not allow any other functionality.
Term
Definition
A Linux command used to display a text file page-by-page on the terminal screen; users can then use the cursor keys to navigate the file.
Term
Definition
The files that represent the same data as other files.
Term
Definition
An alias for the ls -l command; it gives a long file listing.
Term
Definition
Linux command used to list the files in a given directory.
Term
Definition
A Linux command used to display a text file page by page and line by line on the terminal screen.
Term
Definition
A temporary connection that sends information from one command or process in memory to another; it can also be represented by a file on the filesystem.
Term
Definition
A Linux command used to display the contents of a file in octal format.
Term
Definition
The directory that is one level closer to the root directory in the directory tree relative to your current directory.
Term
pwd (print working directory) command
Definition
A Linux command used to display the current directory in the directory tree.
Term
Definition
See regular expressions.

-The special metacharacters used to match patterns of text within text files; they are commonly used by text tool commands, including grep.

Term
Definition
The special metacharacters used to match patterns of text within text files; they are commonly used by text tool commands, including grep.
Term
Definition
The pathname of a target directory relative to your current directory in the tree.
Term
Definition
A named pipe connecting processes on two different computers; it can also be represented by a file on the filesystem.
Term
Definition
A file used to identify hardware devices such as hard disks and serial ports.
Term
Definition
A Linux command used to search for and display text characters in a binary file.
Term
Definition
A directory that resides within another directory in the directory tree.
Term
Definition
A feature of the BASH shell that fills in the remaining characters of a unique filename or directory name when the user presses the Tab key.
Term
Definition
A Linux command that displays a file on the screen, beginning with the last line of the file and ending with the first line of the file.
Term
Definition
A Linux command used to display lines of text at the end of a file; by default, the tail command displays the last 10 lines of the file.
Term
Definition
A file that stores information in a readable text format.
Term
Definition
The programs that allow for the creation, modification, and searching of text files.
Term
Definition
A powerful command-line text editor available on most UNIX and Linux systems.
Term
Definition
The metacharacters used to match certain characters in a file or directory name; they are often used to specify multiple files.
Term
A directory is a type of file. True or False?
Definition
Term
Which command would a user type on the command line to find out which directory in the directory tree he is currently located in?a. pdb. cdc. where

d. pwd

Definition
Term
Which of the following is an absolute pathname? (Choose all that apply.)a. Home/resumeb. C:\myfolder\resumec. resumed. /home/resume

e. C:home/resume

Definition
Term
A special device file is used to ____________.a. enable proprietary custom-built devices to work with Linuxb. represent hardware devices such as hard disk drives and portsc. keep a list of device settings specific to each individual user

d. do nothing in Linux

Definition
b. represent hardware devices such as hard disk drives and ports
Term
If a user's current directory is /home/mary/project1, which command could she use to move to the etc directory directly under the root?a. cd ..b. cd /home/mary/etcc. cd etcd. cd /etc

e. cd \etc

Definition
Term
After typing the ls -a command, you notice that there is a file whose filename begins with a dot ( . ). What does this mean?a. It is a binary file.b. It is a system file.c. It is a file in the current directory.

d. It is a hidden file.

Definition
Term
After typing the ls -F command, you notice a filename that ends with an * (asterisk) character. What does this mean?a. It is a hidden file.b. It is a linked file.c. It is a special device file.

d. It is an executable file.

Definition
It is an executable file.
Term
The vi editor can function in which two of the following modes? (Choose both that apply.)a. textb. commandc. inputd. interactive

e. insert

Definition
Term
The less command offers less functionality than the more command. True or False?
Definition
Term
. Which command searches for and displays any text contents of a binary file?a. textb. stringsc. od

d. less

Definition
Term
How can a user switch from insert mode to command mode when using the vi editor?a. Press the Ctrl+Alt+Del keys simultaneously.b. Press the Del key.c. Type in a : character.

d. Press the Esc key.

Definition
Term
If “resume” is the name of a file in the home directory off the root of the filesystem and your present working directory is home, what is the relative name for the file named resume?a. /home/resumeb. /resumec. resume

d. \home\resume

Definition
Term
What will the following wildcard regular expression return: file [a-c]?a. filea-cb. filea, filecc. filea, fileb, filec

d. fileabc

Definition
Term
What will typing q! at the : prompt in command mode do when using the vi editor?a. quit because no changes were madeb. quit after saving any changesc. nothing because the ! is a metacharacter

d. quit without saving any changes

Definition
quit without saving any changes
Term
A user types in the command head /poems/mary. What will be displayed on the terminal screen?a. the first line of the file maryb. the header for the file maryc. the first 20 lines of the file maryd. the last 10 lines of the file mary

e. the first 10 lines of the file mary

Definition
the first 10 lines of the file mary
Term
The tac command ____________.a. is not a valid Linux commandb. displays the contents of hidden filesc. displays the contents of a file in reverse order, last word on the line first and first word on the line last

d. displays the contents of a file in reverse order, last line first and first line last

Definition
displays the contents of a file in reverse order, last line first and first line last
Term
How can you specify a text pattern that must be at the beginning of a line of text using a regular expression?a. Precede the string with a /.b. Follow the string with a \.c. Precede the string with a $.

d. Precede the string with a ^.

Definition
Precede the string with a ^.
Term
Linux has only one root directory per directory tree. True or False?
Definition
Term
Using wildcard metacharacters, how can you indicate a character that is NOT a or b or c or d?a. [^abcd]b. not [a-d]c. [!a-d]

d. !a-d

Definition
Term
A user typed in the command pwd and saw the output: /home/jim/sales/pending. How could that user navigate to the /home/jim directory?a. cd ..b. cd /jimc. cd ../..

d. cd ./.

Definition

Supporting users have an ad free experience!

What will the following wildcard regular expression return: file[a-c]?

What will the following wildcard regular expression return: file[a-c]?

What will the following wildcard regular expression return: file[a-c]?