LINUX ESSENTIALS 010-150 BEST STUDY GUIDE 2019
Which command can be used to abnormally terminate a script with a specific status?
A. Exit
B. Stop
C. End
D. Term Correct answer- A
Which one of the followin
...
LINUX ESSENTIALS 010-150 BEST STUDY GUIDE 2019
Which command can be used to abnormally terminate a script with a specific status?
A. Exit
B. Stop
C. End
D. Term Correct answer- A
Which one of the following statements are NOT true of the /etc/shadow file on a Linux system?
(This is normally a multi-select question however I modified it so that you can only choose one answer)
A. It contains an account's expiration information.
B. It does not contain the UIDs of the users on the system.
C. All the users on the system have read access to this file.
D. It contains the password for accounts in hashed format. Correct answer- C
A text file keeps records in the following format:
field1 | field2 | field3 | field4
Which of the following commands will you use to display only the information in the second field for all the records in the file?
Note: Assume the name of the file to be rec.txt.
A. cut -f 2 rec.txt
B. cut -f 2 -d "|" rec.txt
C. echo rec.txt | cut -f 2
D. cut -c 2 rec.txt Correct answer- B
Which of the following information can NOT be displayed using the netstat command?
(This is normally a multi-select question however I modified it so that you can only choose one answer)
A. Routing table
B. List of open ports
C. Round-trip network travel time
D. Network interface information Correct answer- C
Which of the following symbols can be used to write multi-line commands on the Linux terminal?
A. &
B. |
C. \
D. ; Correct answer- C
The sample.txt file does not exist in the current working directory. What happens when the nano sample.txt command is executed?
A. The editor starts but displays an error message in the status bar.
B. The editor does not start and displays an error message on the terminal.
C. The editor starts and displays the message "Warning: no write permission" in the status bar.
D. The editor starts and displays the message "New File" in the status bar. Correct answer- D
Where do most drivers exist on a Linux system?
A. Linux kernel
B. Configuration files
C. Libraries
D. Firmware Correct answer- A
Which of the following programming languages is implemented as a compiled language?
A. Bash shell
B. Python
C. C++
D. Perl Correct answer- C
Which of the following commands can be used to display the configuration of the first Ethernet device?
(This is normally a multi-select question however I modified it so that you can only choose one answer)
A. ifconfig eth1
B. NULL
C. ifconfig ethernet
D. ifconfig or ifconfig eth0 Correct answer- D
Which of the following options cause cp to prompt before overwriting an existing file?
(This is normally a multi-select question however I modified it so that you can only choose one answer)
A. -p
B. -i or --interactive
C. NULL
D. -f Correct answer- B
Which archive format is NOT supported by tar?
(This is normally a multi-select question however I modified it so that you can only choose one answer)
A. gzip
B. xz
C. zip
D. bzip2 Correct answer- C
Which of the following is a common server program?
A. GIMP
B. GNOME
C. LibreOffice
D. Samba Correct answer- D
Which of the following makes a good password?
A. Name of a character from the user's favorite book
B. The user's username
C. None of these
D. User's telephone number Correct answer- C
Which of the following characters in a file's permission string identifies it as a symbolic link?
A. @
B. w
C. r
D. l Correct answer- D
Which usermod options are used to move a user's home directory (files included) to a new location?
(This is normally a multi-select question however I modified it so that you can only choose one answer)
[Show More]