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

Viewing page 6 out of 9 pages
Viewing questions 51-60 out of questions
Questions # 51:

Which of the commands below might have produced the following output?

Question # 51

Options:

A.

dig -t rax www.example.org


B.

dig www.example.org


C.

dig -t ns www.example.org


D.

dig -t a www.example.org


E.

dig -t soa www.example.org


Expert Solution
Questions # 52:

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 # 53:

Which of the following statements describes a difference between GNU GRUB Legacy and GRUB 2?

Options:

A.

GRUB 2 no longer requires a configuration file.


B.

Partition numbers start at 0 in GRUB Legacy and1in GRUB 2.


C.

grub-mkconfigonly works with GRUB Legacy if the--version 1option is used.


D.

The configuration filemenu.lst(andgrub.conf) have been replaced withgrub.config.


Expert Solution
Questions # 54:

Which of the following are filesystems which can be used on Linux root partitions? (Choose two.)

Options:

A.

NTFS


B.

ext3


C.

XFS


D.

VFAT


E.

swap


Expert Solution
Questions # 55:

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

Options:

A.

chown dan/staff file.txt


B.

chown dan:staff file.txt


C.

chown -u dan -g staff file.txt


D.

chown dan -g staff file.txt


Expert Solution
Questions # 56:

Which file in /proc describes the IRQs that are used by various kernel drivers? (Specify the file name only without any path.)


Expert Solution
Questions # 57:

Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?

Options:

A.

chmod u=rwx,go=rx /bin/foo


B.

chmod o+rwx,a+rx /bin/foo


C.

chmod 577 /bin/foo


D.

chmod 775 /bin/foo


Expert Solution
Questions # 58:

Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)


Expert Solution
Questions # 59:

Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)


Expert Solution
Questions # 60:

Which of the following commands shows the definition of a given shell command?

Options:

A.

where


B.

stat


C.

type


D.

case


Expert Solution
Viewing page 6 out of 9 pages
Viewing questions 51-60 out of questions