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

Viewing page 4 out of 6 pages
Viewing questions 31-40 out of questions
Questions # 31:

Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)

Options:

A.

visible TEST


B.

declare +x TEST


C.

declare –x TEST


D.

export TEST


E.

export –v TEST


Expert Solution
Questions # 32:

Which of the following commands prints a list of available package updates when using RPM-based package management?

Options:

A.

dpkg list


B.

yum list


C.

dpkg check-update


D.

yum check-update


E.

yum list-update


Expert Solution
Questions # 33:

Which of the following commands is used to modify quota settings? (Choose two.)

Options:

A.

editquota


B.

setquota


C.

edquota


D.

quotaedit


E.

quotaset


Expert Solution
Questions # 34:

Which file from the /proc file system contains a list of all currently mounted devices? (Specify ONLY the command without any path or parameters.)


Expert Solution
Questions # 35:

Which program updates the database that is used by the locate command?


Expert Solution
Questions # 36:

Which of the following examples for Bash file globbing matches a file named root-can-do-this.txt when used in the directory holding that file? (Choose three correct answers.)

Options:

A.

root*can?do-this.{txt,odt}


B.

r[oOoO]t-can-do*.txt


C.

{root,user,admin}-can-??-this.txt


D.

root*can*do??this.txt


E.

root***{can,may}-do-this.[tT][xX][tT]


Expert Solution
Questions # 37:

What does the command grub-install /dev/sda do?

Options:

A.

GRUB creates partitions on the device/dev/sdato be used with Linux.


B.

GRUB sets the default BIOS boot device to/dev/sda.


C.

GRUB installs all required files and configures the boot loader on device/dev/sda.


D.

GRUB recompiles the Linux Kernel and installs it on the Master Boot Record of device/dev/sda.


Expert Solution
Questions # 38:

After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)

Options:

A.

By creating an ACL redirection from the old to the new path of the data.


B.

By creatinga hard link from the old to the new path of the data.


C.

By creating a symbolic link from the old to the new path of the data.


D.

By running the command touch on the old path.


E.

By mounting the new filesystem on the original path of the data.


Expert Solution
Questions # 39:

When using regular expressions, which of the following characters match the beginning of a line?

Options:

A.

^


B.

?


C.

*


D.

+


E.

$


Expert Solution
Questions # 40:

Which of the following commands are common Linux commands for file management? (Choose three correct answers.)

Options:

A.

copy


B.

mv


C.

move


D.

cp


E.

mkdir


Expert Solution
Viewing page 4 out of 6 pages
Viewing questions 31-40 out of questions