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

LX0-101 Online Practice Questions and Answers

Questions 4

What file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Please enter only a single command and do not enter duplicate answers in this field.)

Browse 124 Q&As
Questions 5

What command is used to display a file in octal format? (Please enter only a single command and do not enter duplicate answers in this field.)

Browse 124 Q&As
Questions 6

An administrator has written a custom tool on their local system. Following the Filesystem Hierarchy Standard (FHS), where should the administrator install the binaries to be available to all users on the administrator's system?

Browse 124 Q&As
Questions 7

In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Enter the correct vi command without spaces. (Please enter only a single answer.)

Browse 124 Q&As
Questions 8

Which of the following Linux filesy stems pre-allocates a fixed number of in odes at filesy stems? make/creation time, and does NOT generate them as needed?

A. ext3

B. jfs

C. reiserfs

D. xfs

Browse 124 Q&As
Questions 9

Which of the following is the output when the below shell script executes? cat <

A. The contents of the file foobar

B. Hello

C. No output but a file named foobar is created

D. Hello foobar

E. Hello foobar foobar

Browse 124 Q&As
Questions 10

Which of the following configuration files should be modified to disable the ctrl-alt-delete key

A. /etc/keys

B. /proc/keys

C. /etc/inittab

D. /proc/inittab

E. /etc/reboot

Browse 124 Q&As
Questions 11

After modifying LILO's configuration file, which of the following commands should be run for the changes to take effect?

A. kill -HUP `pid of lilo`

B. lilo-install

C. lilo

D. reboot

Browse 124 Q&As
Questions 12

Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such file or directory." . Which of the following commands will remove the directory?

A. rmdir '~bob/\bobsdir'

B. rmdir "~bob/\bobsdir"

C. rmdir ~bob/'bobsdir'

D. rmdir ~bob/\bobsdir

E. rmdir ~bob/\\bobsdir

Browse 124 Q&As
Questions 13

Which command lines would an administrator use to restrict the GNU find command to searching a particular number of subdirectories?

A. -s

B. -dirmax

C. --max-dirs

D. -maxdepth

Browse 124 Q&As
Exam Code: LX0-101
Exam Name: CompTIA Linux+ [Powered by LPI] Exam 1
Last Update: May 01, 2024
Questions: 124 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99