Category: Introduction to Linux I
1. To execute a command called “simple” as a foreground process, you would type: fg simple simple & foreground simple simple 2. The key press combination that will request a process to stop is: CTRL+z CTRL+p CTRL+c CTRL+d 3. The key press combination that will request a running …
1. This stream is the output of a command operating normally: stdout stderr stdin stdnorm 2. Many commands that read text files will also read from this stream: pipe stdin redirect input 3. If you want to overwrite a file by redirecting the output of a command, you …
1. To move forward one word at a time in the vi command mode, you press: f t g w 2. To go to the beginning of a line in the vi command mode, you press: g $ ^ 1 3. To go to the first line of …
1. Which regular expression character matches any one character? . ? + * 2. Which regular expression character matches zero or more of the previous character? ? + * . 3. Which regular expression character matches one or more of the previous character? – $ * + 4. …
1. Which of the following are advantages of using the locate command? It is quicker than the find command Its results are always the most up to date It pages the results It can search by file attribute types 2. Which of the following are advantages of using …
1. Which of the following is not used for globbing?
1. The ls command will list which of the following by default? The root directory The current directory Nothing; it requires an argument User’s home directory 2. User home directories often contain hidden files. True or False? True False 3. Use the ___ option to display hidden files …
1. If you want to delete a variable, you can run: wipe clear delete unset 2. To view all current variables, you can use: dump var view set 3. To process a script file in the current context, you execute: (choose two) . include source exec 4. Environment …
1. If you want to see the entire contents of a text file, you can use the _____ command: dog type wc cat 2. The expand and unexpand commands change: (choose two) New lines Carriage returns Spaces Tabs 3. The head -n -1 readme.txt command will: Show the …
Introduction to Linux I Chapter 02 Exam Answers 1. Which command is used in order to view the manual page for a topic? show man help doc 2. The command manual ls will provide detailed information about how the ls command functions. True or False? True False 3. …