Term
What is an absolute pathway? |
|
Definition
It is the full pathname of a certain file or directory starting from the root directory. |
|
|
Term
What character refers to the root directory in Linux? |
|
Definition
|
|
Term
Where is a user placed when they log into a Linux system? |
|
Definition
|
|
Term
Where is a user's home directory? |
|
Definition
Regular users usually have a home directory named after their user account under the /home directory (/home /sue) |
|
|
Term
Where is the root user's home directory? |
|
Definition
It is a home directory called root under the root directory of the system. (/root) |
|
|
Term
What metacharacter is used to refer to your own home directory? |
|
Definition
|
|
Term
What two ways tell you the directory that you are currently in? |
|
Definition
Observe the name at the end of the shell prompt or run the pwd command at a command-line prompt. |
|
|
Term
What command is used to change directories? |
|
Definition
cd (change directory) command |
|
|
Term
What happens when you run the command to change directories without specifying the destination? |
|
Definition
The cd command returns you to your home directory. |
|
|
Term
How do you refer to another user's home directory? |
|
Definition
|
|
Term
What is a relative pathname? |
|
Definition
The pathname of a target file or directory relative to your current directory in the tree. |
|
|
Term
What character is used to refer to a parent directory? |
|
Definition
Simply use two (..) dots. |
|
|
Term
What command will move you two directories up in the directory tree? |
|
Definition
|
|
Term
What symbol is used to refer to the current directory? |
|
Definition
Use one dot (.) to refer to the current directory. |
|
|
Term
What allows a user to type neough unique letters of a file or directory to find the intended file or directory being specified and automatically fill in the remainder of the appropriate information? |
|
Definition
Tab-completion feature of the BASH shell. |
|
|
Term
When using the feature that automatically completes files and directory names, what happens if there is more than one match? |
|
Definition
The Tab-completion feature alerts you with a beep; pressing Tab again after this beep presents you with a list of possible files or directories. |
|
|
Term
What are seven file types listed by the text? |
|
Definition
-Text files -Binary data files -Executable program files -Directory files -Linked files -Special device file -Named pipes and sockets |
|
|
Term
Most files on a Linux system that contain configuration information are what kinds of files? |
|
Definition
|
|
Term
What is the name of a program after it has been executed in memory? |
|
Definition
|
|
Term
What kind of files associate themselves with programs providing support such as common functions and graphics? |
|
Definition
|
|
Term
Are directories considered files? |
|
Definition
|
|
Term
When you create a directory, what exactly happens? |
|
Definition
A file is placed on the hard disk to represent that directory. |
|
|
Term
|
Definition
They are files that have an association with one another; they can represent the same data or they can point to another file. |
|
|
Term
What kind of file represents different devices on a system? Where are they typically located? |
|
Definition
-Special device files -/dev directory |
|
|
Term
|
Definition
They identify a channel that passes information from one process in memory to another. |
|
|
Term
What kind of file allows a process on another computer to write a file on the local computer while another process reads from that file? |
|
Definition
|
|
Term
How long can Linux filenames be? |
|
Definition
|
|
Term
How are hidden files indicated? |
|
Definition
Filenames that start with a period (.) |
|
|
Term
Do Linux files require an extension |
|
Definition
|
|
Term
What command is the most common method for displaying files in a directory? |
|
Definition
|
|
Term
What option allows the display of the file type appended to the file name? |
|
Definition
|
|
Term
What symbol indicates a linked file? |
|
Definition
|
|
Term
What symbol indicates a subdirectory? |
|
Definition
/ indicates a subdirectory |
|
|
Term
What symbol indicates a named pipe? |
|
Definition
(|) character indicates a named pipe |
|
|
Term
What is a common convention for naming directories? |
|
Definition
It is a common convention to name directories starting with an upper case letter. |
|
|
Term
What command can be used to provide a long listing for each file in a certain directory? what is common alias for this command? |
|
Definition
ls -lcommand This known as ll command |
|
|
Term
What command is used to display the file type of any file or files? |
|
Definition
|
|
Term
What metacharacter refers to all files in the current directory? |
|
Definition
|
|
Term
What option to the ls command will display hidden files? |
|
Definition
|
|
Term
What wildcard metacharacter looks to match one character in a filename? |
|
Definition
|
|
Term
Which wildcard metacharacters are used to encapsulate a list of characters to look for in a filename? |
|
Definition
|
|
Term
What metacharacter is used to indicate that you are not looking for a character or characters? |
|
Definition
|
|
Term
|
Definition
To display an entire text file on the terminal screen. |
|
|
Term
What command will display an entire text file on the terminal screen? |
|
Definition
|
|
Term
What option will display the line numbers when displaying the content of the file? |
|
Definition
|
|
Term
What command will display the contents of a text file in reverse order? |
|
Definition
|
|
Term
What command displays the first 10 lines of a text file to the terminal screen, but can also take a numeric option specifying a different number of lines to display? |
|
Definition
|
|
Term
What command displays the final 10 line of a file, but can also take a numeric option specifying the number of lines to display on the terminal screen? |
|
Definition
|
|
Term
What two commands are used to display a large text file in a page-by-page fashion by pressing the Spacebar or browse them line-by-line by pressing Enter? |
|
Definition
|
|
Term
What command displays the first page without returning you to the shell prompt, but instead displays a prompt at the bottom of the terminal screen that indicates how much of the file is displayed on the screen as a percentage of the total file size? |
|
Definition
|
|
Term
Pressing what character quits the more command completely without viewing the remainder of the file? |
|
Definition
|
|
Term
What command can browse the contents of a text file page-by-page by pressing the Spacebar or browse them line-by-line by pressing Enter and also allows the use of the cursor keys on the keyboard to scroll up and down the content of the file? |
|
Definition
|
|
Term
What metacharacter is the pipe metacharacter and allows the output of one command to be used as the input of another command, such as taking the output of ls -l and displaying it using the more command? |
|
Definition
|
|
Term
How do you typically view the contents of binary files? |
|
Definition
You typically use the program that was used to create the file. |
|
|
Term
What command is used to display the content of binary files in octal format? |
|
Definition
|
|
Term
The text wildcards developed to ease the searching of specific text information are called what? |
|
Definition
regular expressions (regexp) |
|
|
Term
Wildcard metacharacters are interpreted by______, whereas regular expressions are interpreted by _____. |
|
Definition
-the shell -a text tool program |
|
|
Term
Wildcard metacharacters match characters______, whereas regular expressions match characters______. |
|
Definition
-in filename on a Linux filesystem -within text files on a Linux filesystem. |
|
|
Term
Regular expression metacharacters are divided into what two different categories? |
|
Definition
Common regular expressions Extended regular expressions |
|
|
Term
What command, whose name is short for global regular expression print, is used to display lines in a text file that match a certain common regular expression? |
|
Definition
|
|
Term
What option is used with the command from the lastquestion to perform a serch that is not case sensitive? |
|
Definition
|
|
Term
What do you type to have grep search for lines that contain a specific and limited string of text, such as just the word "to"? |
|
Definition
|
|
Term
What is one of the oldest and most popular visual text editors available for UNIX operating systems? |
|
Definition
|
|
Term
What are the two modes of the vi editor? In which mode will it open? |
|
Definition
-command mode -insert mode |
|
|
Term
In which mode must you use the keyboard to perform functions, such as deleting text, copying text, saving changes to a file, and exiting the vi editor? |
|
Definition
|
|
Term
What command or commands will move you to the correct mode for adding text to a document? |
|
Definition
|
|
Term
You must press what key to return to command mode to perform other functions via keys on the keyboard. |
|
Definition
|
|
Term
How do you quit the vi editor? |
|
Definition
Press the : character (pressing shift and key simultaneously) to reach a :prompt where you can enter the command to exit. |
|
|
Term
What command installs the Emacs editor? |
|
Definition
|
|
Term
What is the text editor that works in the GUI? To which windows text editors is it similiar? |
|
Definition
|
|