FILL BLANK
What parameter of ls prints a recursive listing of a directory's content? (Specify ONLY the option name without any values or parameters.)
FILL BLANK What command displays manual pages? (Specify ONLY the command without any path or parameters.)
Which of the following outputs comes from the command free?
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
What is true about the dmesg command? (Choose two.)
A. It traces the execution of a command and shows each step the program carries out.
B. It sends messages to the command lines of all current user sessions.
C. It displays the content of the Linux kernel's ring buffer.
D. It immediately outputs all new messages written to the system journal.
E. It might not display older information because it was overwritten by newer information.
The current directory contains the following file:
-rw-r--r-- 1 root exec 24551 Apr 2 12:36 test.sh
The file contains a valid shell script, but executing this file using ./test.sh leads to this error:
bash: ./test.sh: Permission denied
What should be done in order to successfully execute the script?
A. The file's extension should be changed from .sh to .bin.
B. The execute bit should be set in the file's permissions.
C. The user executing the script should be added to the exec group.
D. The SetUID bit should be set in the file's permissions
E. The script should be run using #!./test. sh instead of ./test.sh.
Which of the following commands are used to get information on the proper use of ls? (Choose two.)
A. option ls
B. usage ls
C. manual ls
D. man ls
E. info ls
What is true about a recursive directory listing?
A. It includes the content of sub-directories.
B. It includes the permissions of the directory listed.
C. It includes details of file system internals, such as inodes.
D. It includes ownership information for the files.
E. It includes a preview of content for each file in the directory.
Which of the following tasks can the command passwd accomplish? (Choose two.)
A. Change a user's username.
B. Change a user's password.
C. Create a new user account.
D. Create a new user group.
E. Lock a user account.
Which of the following statements are true regarding a typical shell script? (Choose two.)
A. It has the executable permission bit set.
B. It starts with the two character sequence #!.
C. It is located in /usr/local/scripts/.
D. It is located in /etc/bash/scripts/.
E. It is compiled into a binary file compatible with the current machine architecture.
Which of the following programs are web servers? (Choose two.)
A. Apache HTTPD
B. Postfix
C. Curl
D. Dovecot
E. NGINX