Category: Linux
1. Which command can be used to set what your default permissions will be on new files? umode umask mode mask 2. Which commands can be used to change the ownership of a file? (choose two) chggrp chgrp chown newgrp 3. If a file has permissions that appear …
1. Which archiving method is compatible across Linux, Microsoft Windows and Mac operating systems? cpio dd zip tar 2. Which option to the zip command can be used to recursively compress multiple directories? -r -R -l -d 3. Which option to the zip command will list its files …
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 …