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

LX0-103 Online Practice Questions and Answers

Questions 4

Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?

A. /etc/keys

B. /proc/keys

C. /etc/inittab

D. /proc/inittab

E. /etc/reboot

Browse 120 Q&As
Questions 5

Which of the following is correct when talking about mount points?

A. Every existing directory can be used as a mount point.

B. Only empty directories can be used as a mount point.

C. Directories need to have the SetUID flag set to be used as a mount point.

D. Files within a directory are deleted when the directory is used as a mount point.

Browse 120 Q&As
Questions 6

Which function key is used to start Safe Mode in Windows NT?

A. F10

B. F8

C. F6

D. Windows NT does not support Safe Mode

Browse 120 Q&As
Questions 7

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 8

Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?

A. kill -PIPE 123

B. kill -KILL 123

C. kill -STOP 123

D. kill -TERM 123

Browse 120 Q&As
Questions 9

What is the output of the following command?

echo "Hello World" | tr -d aieou

A. Hello World

B. eoo

C. Hll Wrld

D. eoo Hll Wrld

Browse 120 Q&As
Questions 10

Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?

A. file /tmp/myfile.txt

B. echo "Hello" >/tmp/myfile.txt

C. sed -ie "s/1/2/" /tmp/myfile.txt

D. echo -n "Hello" >>/tmp/myfile.txt

E. touch /tmp/myfile.txt

Browse 120 Q&As
Questions 11

Which grep command will print only the lines that do not end with a / in the file foo?

A. grep '/$' foo

B. grep '/#' foo

C. grep -v '/$' foo

D. grep -v '/#' foo

Browse 120 Q&As
Questions 12

Which of the following command sets the Bash variable named TEST with the content FOO?

A. set TEST="FOO"

B. TEST = "FOO"

C. var TEST="FOO"

D. TEST="FOO"

Browse 120 Q&As
Questions 13

Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

A. dirname

B. which

C. basename

D. query

E. whereis

Browse 120 Q&As
Questions 14

Creating a hard link to an ordinary file returns an error. What could be the reason for this?

A. The source file is hidden.

B. The source file is read-only.

C. The source file is a shell script.

D. The source file is already a hard link.

E. The source and the target are on different filesystems.

Browse 120 Q&As
Questions 15

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)

A. FIND

B. ID

C. LABEL

D. NAME

E. UUID

Browse 120 Q&As
Questions 16

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)

Browse 120 Q&As
Questions 17

In which directory must definition files be placed to add additional repositories to yum?

Browse 120 Q&As
Questions 18

Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)

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

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99