CompTIA Linux+ [Powered by LPI] Exam 1 - LX0-101 Exam Practice Test
Which of the following commands can be used to instruct the init process to switch runlevels? (Select TWO).
Correct Answer: A,E
CORRECT TEXT
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.)
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.)
Correct Answer:
/usr/bin/hexdump,/usr/bin/od,hexdump,od
An administrator wants the default permissions for their files to be -rw-r-----. How must the administrator set umask?
Correct Answer: B
In bash, inserting 1>&2 after a command redirects:
Correct Answer: D
An administrator has just added a CD-ROM drive (/dev/hdd) to a system and added it to the administrator's fstab. Typically the administrator can use which of the following commands to mount media in that drive to /mnt/cdrom?
Correct Answer: B
CORRECT TEXT
Which command is used to enable disk quotas on a particular filesystem? (Provide only the command, with no options or parameters)
Which command is used to enable disk quotas on a particular filesystem? (Provide only the command, with no options or parameters)
Correct Answer:
/sbin/quotaon,quotaon
Which of the following would be accomplished if the below line is run as root? chown -R bert /home/bert/*
Correct Answer: B
To what environment variable will an administrator assign or append a value if the administrator needs to tell the dynamic linker to look in a build directory for some of a program's shared libraries?
Correct Answer: B
Which of the following configuration files should be modified to disable the ctrl-alt-delete key combination?
Correct Answer: E
CORRECT TEXT
Which program finds only files that are in an administrator's PATH?
Which program finds only files that are in an administrator's PATH?
Correct Answer:
/usr/bin/which,which