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

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

Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.)

Options:

A.

The partitioning scheme


B.

The file system


C.

The D-Bus Machine ID


D.

The permissions of /root/


E.

The SSH host keys


Expert Solution
Questions # 12:

Which of the following vi commands deletes two lines, the current and the following line?

Options:

A.

d2


B.

2d


C.

2dd


D.

dd2


E.

de12


Expert Solution
Questions # 13:

Which of the following files, located in a user’s home directory, contains the Bash history?

Options:

A.

.bashrc_history


B.

.bash_histfile


C.

.history


D.

.bash_history


E.

.history_bash


Expert Solution
Questions # 14:

Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?

Options:

A.

tr –d ‘\r’ < userlist.txt > newlist.txt


B.

tr –c ‘\n\r’ ‘’ userlist.txt


C.

tr ‘\r\n’ ‘’ newlist.txt


D.

tr ‘\r’ ‘\n’ userlist.txt newlist.txt


E.

tr –s ‘/^M/^J/’ userlist.txt newlist.txt


Expert Solution
Questions # 15:

Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.)

Options:

A.

find /tmp –user root -print


B.

find –path /tmp –uid root


C.

find /tmp –uid root -print


D.

find /tmp –user root


E.

find –path /tmp –user root -print


Expert Solution
Questions # 16:

Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)


Expert Solution
Questions # 17:

When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)

Options:

A.

Timestamps


B.

MD5 checksums


C.

Inodes


D.

File sizes


E.

GnuPG signatures


Expert Solution
Questions # 18:

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

    menu.lst

    grub.conf

    grub.cfg


Expert Solution
Questions # 19:

Which of the following commands is used to update the list of available packages when using dpkg based package management?

Options:

A.

apt-get update


B.

apt-get upgrade


C.

apt-cache update


D.

apt-get refresh


E.

apt-cache upgrade


Expert Solution
Questions # 20:

Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not already installed?

Options:

A.

auto-update


B.

upgrade


C.

dist-upgrade


D.

install


E.

update


Expert Solution
Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions