- Home
- Lpi Certification
- 010-160 Exam
- Lpi.010-160.v2024-05-31.q64 Practice Test
Question 61
Which statements about the directory /etc/skel are correct? (Choose two.)
Correct Answer: C,D
Explanation
The /etc/skel directory is a skeleton directory that contains the default files and directories that are automatically copied to the home directory of a new user when the account is created by the useradd command12. The purpose of this directory is to provide a consistent and uniform environment for all new users and to save the system administrator's time and effort in configuring the user settings12. The /etc/skel directory can be customized by adding or removing files and directories as needed, depending on the desired default settings for the new users12.
The other options are incorrect because:
* A. The personal user settings of root are stored in this directory. This is not true, as the personal user settings of root are stored in the /root directory, which is the home directory of the root user3. The
/etc/skel directory does not affect the root user's settings, but only the settings of the new users created by the useradd command12.
* B. The files from the directory are copied to the home directory of the new user when starting the system. This is not true, as the files from the directory are copied to the home directory of the new user when the account is created, not when starting the system12. The copying process only happens once, when the useradd command is executed, and not every time the system is started12.
* E. The directory contains the global settings for the Linux system. This is not true, as the directory contains the default settings for the new users, not the global settings for theLinux system12. The global settings for the Linux system are usually stored in other directories under /etc, such as /etc/default,
/etc/sysconfig, /etc/init.d, etc4.
References:
* Understanding the /etc/skel directory in Linux - The Geek Diary
* /etc/skel directory in Linux - techPiezo
* Linux File System Hierarchy - /root directory - LinuxConfig.org
* Linux configuration: Understanding *.d directories in /etc | Enable Sysadmin
The /etc/skel directory is a skeleton directory that contains the default files and directories that are automatically copied to the home directory of a new user when the account is created by the useradd command12. The purpose of this directory is to provide a consistent and uniform environment for all new users and to save the system administrator's time and effort in configuring the user settings12. The /etc/skel directory can be customized by adding or removing files and directories as needed, depending on the desired default settings for the new users12.
The other options are incorrect because:
* A. The personal user settings of root are stored in this directory. This is not true, as the personal user settings of root are stored in the /root directory, which is the home directory of the root user3. The
/etc/skel directory does not affect the root user's settings, but only the settings of the new users created by the useradd command12.
* B. The files from the directory are copied to the home directory of the new user when starting the system. This is not true, as the files from the directory are copied to the home directory of the new user when the account is created, not when starting the system12. The copying process only happens once, when the useradd command is executed, and not every time the system is started12.
* E. The directory contains the global settings for the Linux system. This is not true, as the directory contains the default settings for the new users, not the global settings for theLinux system12. The global settings for the Linux system are usually stored in other directories under /etc, such as /etc/default,
/etc/sysconfig, /etc/init.d, etc4.
References:
* Understanding the /etc/skel directory in Linux - The Geek Diary
* /etc/skel directory in Linux - techPiezo
* Linux File System Hierarchy - /root directory - LinuxConfig.org
* Linux configuration: Understanding *.d directories in /etc | Enable Sysadmin
Question 62
Most commands on Linux can display information on their usage. How can this information typically be displayed?
Correct Answer: E
Explanation
Question 63
Which of the following directories contains information, documentation and example configuration files for installed software packages?
Correct Answer: A
Explanation
The /usr/share/doc/ directory is the standard location for documentation files for installed software packages on Linux systems12. It contains subdirectories for each package, which may include README files, manuals, license information, changelogs, examples, and other useful resources12. The
/usr/share/doc/ directory is part of the Filesystem Hierarchy Standard (FHS), which defines the structure and layout of files and directories on Linux and other Unix-like operating systems3.
The other options are incorrect because:
* /etc/defaults/ is a directory that contains settings for userland applications or services/daemons4.
* /var/info/ is not a standard directory on Linux systems. The /var/ directory is used for variable data files, such as logs, caches, spools, and temporary files3.
* /doc/ is not a standard directory on Linux systems. The / directory is the root of the filesystem hierarchy and contains essential files and directories for booting, restoring, recovering, and/or repairing the system3.
* /usr/examples/ is not a standard directory on Linux systems. The /usr/ directory is used for shareable, read-only data, such as binaries, libraries, documentation, and source code3.
References:
* Linux configuration: Understanding *.d directories in /etc | Enable Sysadmin
* Configuration Files in Linux | Baeldung on Linux
* Filesystem Hierarchy Standard - Wikipedia
* Which of the Following Directories Contains Information, Documentation ...
The /usr/share/doc/ directory is the standard location for documentation files for installed software packages on Linux systems12. It contains subdirectories for each package, which may include README files, manuals, license information, changelogs, examples, and other useful resources12. The
/usr/share/doc/ directory is part of the Filesystem Hierarchy Standard (FHS), which defines the structure and layout of files and directories on Linux and other Unix-like operating systems3.
The other options are incorrect because:
* /etc/defaults/ is a directory that contains settings for userland applications or services/daemons4.
* /var/info/ is not a standard directory on Linux systems. The /var/ directory is used for variable data files, such as logs, caches, spools, and temporary files3.
* /doc/ is not a standard directory on Linux systems. The / directory is the root of the filesystem hierarchy and contains essential files and directories for booting, restoring, recovering, and/or repairing the system3.
* /usr/examples/ is not a standard directory on Linux systems. The /usr/ directory is used for shareable, read-only data, such as binaries, libraries, documentation, and source code3.
References:
* Linux configuration: Understanding *.d directories in /etc | Enable Sysadmin
* Configuration Files in Linux | Baeldung on Linux
* Filesystem Hierarchy Standard - Wikipedia
* Which of the Following Directories Contains Information, Documentation ...
Question 64
What information is stored in/etc/passwd? (Choose three correct answers.)
Correct Answer: B,C,E
Explanation
The /etc/passwd file is a plain text-based database that contains information for all user accounts on the system. It is owned by root and has 644 permissions. The file can only be modified by root or users with sudo privileges and readable by all system users. Each line of the /etc/passwd file contains seven comma-separated fields, representing a user account. The fields are as follows:
* Username: The string you type when you log into the system. Each username must be a unique string on the machine. The maximum length of the username is restricted to 32 characters.
* Password: In older Linux systems, the user's encrypted password was stored in the /etc/passwd file. On most modern systems, this field is set to x, and the user password is stored in the /etc/shadow file.
* User ID (UID): The user identifier is a number assigned to each user by the operating system to refer to a user. It is used by the kernel to check for the user privileges and grant access to system resources. The UID 0 is reserved for the root user and cannot be assigned to any other user.
* Group ID (GID): The user's group identifier number, referring to the user's primary group. When a user creates a file, the file's group is set to this group. Typically, the name of the group is the same as the name of the user. User's secondary groups are listed in the /etc/group file.
* User ID Info (GECOS): This is a comment field. This field contains a list of comma-separated values with the following information: User's full name or the application name, Room number, Work phone number, Home phone number, Other contact information.
* Home directory: The absolute path to the user's home directory. It contains the user's files and configurations. By default, the user home directories are named after the name of the user and created under the /home directory.
* Login shell: The absolute path to the user's login shell. This is the shell that is started when the user logs into the system. On most Linux distributions, the default login shell is Bash.
Therefore, the correct answers are B, C, and E. The user's storage space limit (A) is not stored in the
/etc/passwd file, but in the /etc/quota file. The encrypted password (D) is not stored in the /etc/passwd file, but in the /etc/shadow file. References:
* Linux Essentials Topic 104: The Linux Operating System, section 104.4: Runlevels and Boot Targets.
* Linux Essentials Topic 106: Security and File Permissions, section 106.1: Basic security and identifying user types.
* Linux Essentials Topic 106: Security and File Permissions, section 106.2: Creating users and groups.
* Understanding the /etc/passwd File | Linuxize
* Understanding the /etc/passwd File - GeeksforGeeks
* passwd(5) - Linux manual page - man7.org
* Understanding /etc/passwd file in Linux - DEV Community
The /etc/passwd file is a plain text-based database that contains information for all user accounts on the system. It is owned by root and has 644 permissions. The file can only be modified by root or users with sudo privileges and readable by all system users. Each line of the /etc/passwd file contains seven comma-separated fields, representing a user account. The fields are as follows:
* Username: The string you type when you log into the system. Each username must be a unique string on the machine. The maximum length of the username is restricted to 32 characters.
* Password: In older Linux systems, the user's encrypted password was stored in the /etc/passwd file. On most modern systems, this field is set to x, and the user password is stored in the /etc/shadow file.
* User ID (UID): The user identifier is a number assigned to each user by the operating system to refer to a user. It is used by the kernel to check for the user privileges and grant access to system resources. The UID 0 is reserved for the root user and cannot be assigned to any other user.
* Group ID (GID): The user's group identifier number, referring to the user's primary group. When a user creates a file, the file's group is set to this group. Typically, the name of the group is the same as the name of the user. User's secondary groups are listed in the /etc/group file.
* User ID Info (GECOS): This is a comment field. This field contains a list of comma-separated values with the following information: User's full name or the application name, Room number, Work phone number, Home phone number, Other contact information.
* Home directory: The absolute path to the user's home directory. It contains the user's files and configurations. By default, the user home directories are named after the name of the user and created under the /home directory.
* Login shell: The absolute path to the user's login shell. This is the shell that is started when the user logs into the system. On most Linux distributions, the default login shell is Bash.
Therefore, the correct answers are B, C, and E. The user's storage space limit (A) is not stored in the
/etc/passwd file, but in the /etc/quota file. The encrypted password (D) is not stored in the /etc/passwd file, but in the /etc/shadow file. References:
* Linux Essentials Topic 104: The Linux Operating System, section 104.4: Runlevels and Boot Targets.
* Linux Essentials Topic 106: Security and File Permissions, section 106.1: Basic security and identifying user types.
* Linux Essentials Topic 106: Security and File Permissions, section 106.2: Creating users and groups.
* Understanding the /etc/passwd File | Linuxize
* Understanding the /etc/passwd File - GeeksforGeeks
* passwd(5) - Linux manual page - man7.org
* Understanding /etc/passwd file in Linux - DEV Community
- Other Version
- 1251Lpi.010-160.v2025-11-17.q85
- 80Lpi.Actualtestpdf.010-160.v2021-11-15.by.donald.33q.pdf
- Latest Upload
- 177NAHQ.CPHQ.v2026-09-03.q481
- 114SAP.C-S4CPB-2602.v2026-09-02.q7
- 110Cisco.700-805.v2026-09-02.q86
- 161MSSC.CLT-4.0.v2026-09-02.q43
- 126Fitness.NCSF-CPT.v2026-09-02.q18
- 183Google.Generative-AI-Leader.v2026-09-02.q77
- 139PECB.ISO-14001-Lead-Auditor.v2026-09-01.q39
- 126Google.GCP-DE.v2026-09-01.q27
- 161Cisco.300-820.v2026-09-01.q105
- 155Cisco.500-220.v2026-09-01.q72
[×]
Download PDF File
Enter your email address to download Lpi.010-160.v2024-05-31.q64 Practice Test
