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

Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions
Questions # 41:

Which of the following command sets the Bash variable named TEST with the content FOO?

Options:

A.

set TEST="FOO"


B.

TEST = "FOO"


C.

var TEST="FOO"


D.

TEST="FOO"


Expert Solution
Questions # 42:

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

Options:

A.

!


B.

+


C.

&


D.

%


E.

#


Expert Solution
Questions # 43:

Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?

Options:

A.

<<


B.

<|


C.

!<


D.

&<


Expert Solution
Questions # 44:

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

Options:

A.

cat < myapp | cat > file1.log


B.

myapp 0>&1 | cat > file1.log


C.

myapp | cat > file1.log


D.

myapp | tee file1.log


E.

tee myapp file1.log


Expert Solution
Questions # 45:

Which of the following commands will write a message to the terminals of all logged in users?

Options:

A.

bcast


B.

mesg


C.

print


D.

wall


E.

yell


Expert Solution
Questions # 46:

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.)

Options:

A.

shutdown -R 1 now


B.

shutdown -single now


C.

init 1


D.

telinit 1


E.

runlevel 1


Expert Solution
Questions # 47:

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

Options:

A.

shutdown -r now


B.

shutdown -r "rebooting"


C.

telinit 6


D.

telinit 0


E.

shutdown -k now "rebooting"


Expert Solution
Questions # 48:

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)


Expert Solution
Questions # 49:

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

Options:

A.

/lib/init.so


B.

/sbin/init


C.

/etc/rc.d/rcinit


D.

/proc/sys/kernel/init


E.

/boot/init


Expert Solution
Questions # 50:

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)

Options:

A.

startd


B.

systemd


C.

Upstart


D.

SysInit


E.

SysV init


Expert Solution
Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions