Pass the LPI LPIC Level 1 101-400 Questions and answers with CertsForce

Viewing page 1 out of 6 pages
Viewing questions 1-10 out of questions
Questions # 1:

During a system boot cycle, what program is executed after the BIOS completes its tasks?

Options:

A.

The bootloader


B.

The inetd program


C.

The init program


D.

The kernel


Questions # 2:

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

Options:

A.

systemd.target=rescue.target


B.

systemd.runlevel=rescue.target


C.

systemd.service=rescue.target


D.

systemd.default=rescue.target


E.

systemd.unit=rescue.target


Questions # 3:

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

Options:

A.

9


B.

19


C.

49


D.

99


Questions # 4:

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

Options:

A.

fmt -f 1,4 /etc/passwd


B.

split -c 1,4 /etc/passwd


C.

cut -d : -f 1,4 /etc/passwd


D.

paste -f 1,4 /etc/passwd


Questions # 5:

What command will generate a list of user names from /etc/passwd along with their login shell?

Options:

A.

column -s : 1,7 /etc/passwd


B.

chop -c 1,7 /etc/passwd


C.

colrm 1,7 /etc/passwd


D.

cut -d: -f1,7 /etc/passwd


Questions # 6:

Which variable defines the directories in which a Bash shell searches for executable commands?

Options:

A.

BASHEXEC


B.

BASHRC


C.

PATH


D.

EXECPATH


E.

PATHRC


Questions # 7:

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?

Options:

A.

By using the command :repeat followed by the number and the command.


B.

By specifying the number right in front of a command such as 4l or 2yj.


C.

By selecting all affected lines using the shift and cursor keys before applying the command.


D.

By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.


Questions # 8:

Which of the following shell redirections will write standard output and standard error output to a file named filename?

Options:

A.

2>&1 >filename


B.

>filename 2>&1


C.

1>&2>filename


D.

>>filename


E.

1&2>filename


Questions # 9:

What is the effect of the egrep command when the -v option is used?

Options:

A.

It enables color to highlight matching parts.


B.

It only outputs non-matching lines.


C.

It shows the command's version information.


D.

It changes the output order showing the last matching line first.


Questions # 10:

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

Options:

A.

magic


B.

type


C.

file


D.

pmagic


E.

hash


Viewing page 1 out of 6 pages
Viewing questions 1-10 out of questions