If an alias ls exists, which of the following commands updates the alias to point to ls -l instead of the alias's current target?
Reveal answer details Close answer details
Correct answerB
LPI · 101-500
Preview real exam questions, verified answers and available explanations before choosing a study plan.
|
Single choice
If an alias ls exists, which of the following commands updates the alias to point to ls -l instead of the alias's current target? Reveal answer details Close answer detailsCorrect answerB
Multiple choice
What is true regarding the statement beginning with #! that is found in the first line of a script? (Choose Reveal answer details Close answer detailsCorrect answersB, C
Single choice
When running the command Reveal answer details Close answer detailsCorrect answerC
Single choice
Which of the following commands lists all currently installed packages when using RPM package management? Reveal answer details Close answer detailsCorrect answerC
Multiple choice
Which of the following tasks are handled by a display manager like XDM or KDM? (Choose TWO) Reveal answer details Close answer detailsCorrect answersB, E
Single choice
During a system boot cycle, what is the program that is run after the BIOS completes its tasks? Reveal answer details Close answer detailsCorrect answerA
Single choice
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init? Reveal answer details Close answer detailsCorrect answerB
Fill in the blank
CORRECT TEXT 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.) Reveal answer details Close answer detailsAccepted answer0077 Explanation 0077 or 077
Single choice
When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process? Reveal answer details Close answer detailsCorrect answerC
Single choice
How is a symbolic link called bar.conf pointing to foo.conf created? Reveal answer details Close answer detailsCorrect answerA
Multiple choice
Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.) Reveal answer details Close answer detailsCorrect answersC, D
Single choice
Where is the systemd journal stored? Reveal answer details Close answer detailsCorrect answerC
Multiple choice
Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.) Reveal answer details Close answer detailsCorrect answersD, E
Single choice
Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls? Reveal answer details Close answer detailsCorrect answerC
Multiple choice
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.) Reveal answer details Close answer detailsCorrect answersB, C
Single choice
Which of the following commands moves and resumes in the background the last stopped shell job? Reveal answer details Close answer detailsCorrect answerB
Fill in the blank
CORRECT TEXT Which file from the /proc file system contains a list of all currently mounted devices? (Specify ONLY the command without any path or parameters.) Reveal answer details Close answer detailsAccepted answerMOUNTS
Single choice
Which of the following commands lists the dependencies of a given dpkg package? Reveal answer details Close answer detailsCorrect answerC
Fill in the blank
CORRECT TEXT Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.) Reveal answer details Close answer detailsAccepted answerTMP Explanation tmp or /var/tmp
Single choice
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it? Reveal answer details Close answer detailsCorrect answerC
Single choice
Which of the following files, located in a user's home directory, contains the Bash history? Reveal answer details Close answer detailsCorrect answerB
Fill in the blank
CORRECT TEXT Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.) Reveal answer details Close answer detailsAccepted answerINTAB
Single choice
Which of the following shell redirections will write standard output and standard error output to a file named filename? Reveal answer details Close answer detailsCorrect answerB
Single choice
During a system boot cycle, what program is executed after the BIOS completes its tasks? Reveal answer details Close answer detailsCorrect answerA
Single choice
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command? Reveal answer details Close answer detailsCorrect answerC
Single choice
Which of the following statements is correct for a command line ending with a & character? Reveal answer details Close answer detailsCorrect answerC
Single choice
Which of the following commands lists the dependencies of the RPM package file foo.rpm? Reveal answer details Close answer detailsCorrect answerA
Single choice
What is true regarding the command ls > files if files does not exist? Reveal answer details Close answer detailsCorrect answerB
Single choice
What does the command grub-install /dev/sda do? Reveal answer details Close answer detailsCorrect answerC
Multiple choice
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.) Reveal answer details Close answer detailsCorrect answersB, D, E
Multiple choice
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.) Reveal answer details Close answer detailsCorrect answersC, D
Single choice
Which of the following commands finds all files owned by root that have the SetUID bit set? Reveal answer details Close answer detailsCorrect answerA
Single choice
Which of the following commands will print important system information such as the kernel version and machine hardware architecture? Reveal answer details Close answer detailsCorrect answerB
Single choice
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk? Reveal answer details Close answer detailsCorrect answerE
Single choice
Where does the BIOS search for a bootloader? Reveal answer details Close answer detailsCorrect answerB
Single choice
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1. Reveal answer details Close answer detailsCorrect answerD
Multiple choice
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.) Reveal answer details Close answer detailsCorrect answersA, C
Single choice
Which of the following settings for umask ensures that new files have the default permissions -rw-r--- -- ? Reveal answer details Close answer detailsCorrect answerD
Single choice
Which of the following commands print the current working directory when using a Bash shell? (Choose two.) Reveal answer details Close answer detailsCorrect answerC
Single choice
When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.) Reveal answer details Close answer detailsCorrect answerB
Fill in the blank
FILL IN THE BLANK Reveal answer details Close answer detailsAccepted answerCMDLINE Explanation cmdline or /proc/cmdline
Multiple choice
On a system using systemd-joumaid, which of the following commands add the message Howdy to the system log? (Choose two.) Reveal answer details Close answer detailsCorrect answersB, C
Fill in the blank
CORRECT TEXT Reveal answer details Close answer detailsAccepted answerETCINITTAB
Single choice
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created? Reveal answer details Close answer detailsCorrect answerC
Single choice
Which of the following commands will load a kernel module along with any required dependency modules? Reveal answer details Close answer detailsCorrect answerC
Single choice
Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata? Reveal answer details Close answer detailsCorrect answerD |