Lpi 010-160 Linux Essentials Certificate Exam, version 1.6 Online Training
Lpi 010-160 Online Training
The questions for 010-160 were last updated at Nov 23,2024.
- Exam Code: 010-160
- Exam Name: Linux Essentials Certificate Exam, version 1.6
- Certification Provider: Lpi
- Latest update: Nov 23,2024
Which of the following commands sorts the output of the command export-logs?
- A . export-logs < sort
- B . export-logs > sort
- C . export-logs & sort
- D . export-logs | sort
- E . export-logs <> sort
A directory contains the following files:
What would be the output of the following shell script?
for file in *.txt
- A . *.txt
- B . a b
- C . c.cav
- D . a.txt
- E . a. txt
b. txt
Which of the following commands will search for the file foo.txt under the directory /home?
- A . search /home Cfile foo.txt
- B . search /home foo. txt
- C . find /home C file foo.txt
- D . find /home Cname foo.txt
- E . find /home foo.txt
The current directory contains the following file:
-rw-r―r― 1 root exec 24551 Apr 2 12:36 test.sh
The file contains a valid shell script, but executing this file using ./test.shleads to this error:
bash: ./test.sh: Permission denied
What should be done in order to successfully execute the script?
- A . The file’s extension should be changed from .sh to .bin.
- B . The execute bit should be set in the file’s permissions.
- C . The user executing the script should be added to the exec group.
- D . The SetUID bit should be set in the file’s permissions
- E . The script should be run using #!./test. shinstead of ./test.sh.
What is a Linux distribution?
- A . The Linux file system as seen from the root account after mounting all file systems.
- B . A bundling of the Linux kernel, system utilities and other software.
- C . The set of rules which governs the distribution of Linux kernel source code.
- D . An operating system based on Linux but incompatible to the regular Linux kernel.
- E . A set of changes to Linux which enable Linux to run on another processor architecture.
Question 15 is wrong. The encrypted password is stored in /etc/shadow not /etc/passwd. The correct third answer should be, “The user’s default shell.” This is the output from cat /etc/passwd for my user: terryplee:x:1004:100::/hometerryplee: /bin/bash. Here is the output from /etc/shadow: terryplee:!:182230:0:999999:7::: That number is my encrypted password.