The Linux Command Line Exam Questions and Answers
The Linux Command Line Exam Questions and Answers What is the shell? - Correct Answer️️ -A program that takes keyboard commands and passes them to the operating system to carry out. What is BASH (Bourne Again Shell)? - Correct Answer️️ -A common shell program from the GNU Project found on almost all Linux distributions. What is the terminal emulator? - Correct Answer️️ -A program that gives access to the shell. What is the shell prompt? - Correct Answer️️ -The window that appears when the terminal emulator is launched. What does pressing the up-arrow key in the terminal do? - Correct Answer️️ -It brings up previously executed commands. What does pressing the down-arrow key in the terminal do? - Correct Answer️️ -It makes the previous command disappear. What does pressing the left and right arrow keys in the terminal do? - Correct Answer️️ -It positions the cursor on the current line. How do you automatically copy text? - Correct Answer️️ -Highlight the text in question. How do you paste automatically copied text? - Correct Answer️️ -Press the middle mouse button. How do you access the virtual terminal/console? - Correct Answer️️ -Press CTRL- ALT-F1 through CTRL-ALT-F6. How are files organized in a hierarchical directory structure? - Correct Answer️️ -In a singled root tree-like pattern of directories (folders). What is the root directory? - Correct Answer️️ -The first directory in the filesystem. It contains files and subdirectories, which contain more files and subdirectories, and so on. What is a parent directory? - Correct Answer️️ -It is the directory directly above. What is the current working directory? - Correct Answer️️ -It is the directory in use. What is a pathname? - Correct Answer️️ -A route taken along the filesystem to get to the desired directory. What is an absolute pathname? - Correct Answer️️ -A pathname that begins with the root directory and follows the tree branch by branch until the path to the desired directory or file is completed. What is a relative pathname? - Correct Answer️️ -A pathname that begins from the current working directory and uses . (dot) and .. (dot dot) to represent relative positions in the filesystem. . (dot) refers to the working directory and .. (dot dot) refers to the working directory's parent directory. Are filenames with a period hidden by default? - Correct Answer️️ -Yes. Are filenames not case sensitive? - Correct Answer️️ -No. What type of characters should be avoided in filenames? - Correct Answer️️ -Avoid punctuation characters and spaces. What do options in commands do? - Correct Answer️️ -They modify the behavior of the commands. What are arguments in commands? - Correct Answer️️ -The items upon which the command acts. What is the form a command is written in? - Correct Answer️️ -command -options arguments and/or --options for long options What do configuration files do? - Correct Answer️️ -They contain system settings. What are scripts? - Correct Answer️️ -They are programs that the system uses. What is Less? - Correct Answer️️ -A pager program (allows for easy viewing of long text documents page by page) What is a symbolic link? - Correct Answer️️ -A file that references other files. What do wildcards do? - Correct Answer️️ -They select filenames based on a pattern of characters. What four things can commands be? - Correct Answer️️ -1. Executable programs 2. Shell built-ins 3. A shell function 4. An alias What is an alias? - Correct Answer️️ -A user-defined command. What is a manual (man) page? - Correct Answer️️ -A piece of documenta
Written for
- Institution
- Linux
- Course
- Linux
Document information
- Uploaded on
- May 28, 2024
- Number of pages
- 64
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
the linux command line exam questions and answers
Also available in package deal