Pass the LPI LPI Linux Essentials 010-150 Questions and answers with CertsForce

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

When a new user is added, where does the user ID get stored?

Options:

A.

/etc/users


B.

/etc/realm


C.

/etc/pass


D.

/etc/shpasswd


E.

/etc/passwd


Questions # 12:

Which of the following will change the group that is associated with a file?

Options:

A.

chmod


B.

chmod -w


C.

chown


D.

ls -g


Questions # 13:

Which statement about users and user groups is correct?

Options:

A.

A group can only have one main user.


B.

There can be only one user group on a system.


C.

Users do not have to belong to a user group.


D.

Every user belongs to a least one user group.


Questions # 14:

The following line is found in which system file?

root:x:0:0::/root:/bin/bash

Options:

A.

/etc/user.conf


B.

/etc/shadow


C.

/etc/passwd


D.

/usr/bin/shadow


E.

/etc/password


Questions # 15:

Which of the following files holds the definition of the local user accounts?

Options:

A.

/etc/secret


B.

/etc/users


C.

/etc/passwd


D.

/etc/id


E.

/etc/home


Questions # 16:

Which command shows if /usr/bin is in the current shell search path?

Options:

A.

cat PATH


B.

echo $PATH


C.

echo %PATH


D.

cat $PATH


E.

echo %PATH%


Questions # 17:

Which of the following commands will display a list of all files in the current directory, including those that may be hidden?

Options:

A.

ls -a


B.

ls --hidden


C.

ls -h


D.

ls –a


Questions # 18:

Which command lists all files in the current directory that start with a capital letter?

Options:

A.

ls [A-Z]*


B.

ls A-Z


C.

ls A-Z*


D.

ls --uppercasefiles


E.

list-uppercase-files


Questions # 19:

When typing a long command line at the shell, what single character can be used to split a command across multiple lines?


Questions # 20:

Which of the following are correct commands for changing the current directory to the user's home? (Choose TWO answers)

Options:

A.

cd /home


B.

cd ~


C.

cd ..


D.

cd


E.

cd /


Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions