Vcehome > CompTIA > CompTIA Linux+ > LX0-103 > LX0-103 Online Practice Questions and Answers

LX0-103 Online Practice Questions and Answers

Questions 4

What information can the lspci command display about the system hardware? (Choose THREE correct answers.)

A. Device IRQ settings

B. PCI bus speed

C. System battery type

D. Device vendor identification

E. Ethernet MAC address

Browse 120 Q&As
Questions 5

What command will generate a list of user names from /etc/passwd along with their login shell?

A. column -s : 1,7 /etc/passwd

B. chop -c 1,7 /etc/passwd

C. colrm 1,7 /etc/passwd

D. cut -d: -f1,7 /etc/passwd

Browse 120 Q&As
Questions 6

In compliance with the FHS, in which of the directories are man pages found?

A. /usr/share/man

B. /opt/man

C. /usr/doc/

D. /var/pkg/man

E. /var/man

Browse 120 Q&As
Questions 7

What is the difference between the i and a commands of the vi editor?

A. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.

B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.

C. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.

D. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.

Browse 120 Q&As
Questions 8

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

A. fmt -f 1,4 /etc/passwd

B. split -c 1,4 /etc/passwd

C. cut -d : -f 1,4 /etc/passwd

D. paste -f 1,4 /etc/passwd

Browse 120 Q&As
Questions 9

Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?

A. SIGTERM

B. SIGINT

C. SIGSTOP

D. SIGKILL

Browse 120 Q&As
Questions 10

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

A. chown dan/staff file.txt

B. chown dan:staff file.txt

C. chown -u dan -g staff file.txt

D. chown dan -g staff file.txt

Browse 120 Q&As
Questions 11

Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?

A. 0017

B. 0640

C. 0038

D. 0027

Browse 120 Q&As
Questions 12

After running the command umount /mnt, the following error message is displayed:

umount: /mnt: device is busy.

What is a common reason for this message?

A. The kernel has not finished flushing disk writes to the mounted device.

B. A user has a file open in the /mnt directory.

C. Another file system still contains a symlink to a file inside /mnt.

D. The files in /mnt have been scanned and added to the locate database.

E. The kernel thinks that a process is about to open a file in /mnt for reading.

Browse 120 Q&As
Questions 13

Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?

A. File size

B. Modify timestamp

C. Link count

D. Inode number

E. Permissions

Browse 120 Q&As
Exam Code: LX0-103
Exam Name: CompTIA Linux+ [Powered by LPI] 1
Last Update: Apr 26, 2024
Questions: 120 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99