Special Summer Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

101-500 Exam Dumps - LPIC Level 1 Questions and Answers

Question # 44

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

Buy Now
Question # 45

Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)

Options:

A.

Some parts of the boot process can be configured from the BIOS

B.

Linux does not require the assistance of the BIOS to boot a computer

C.

The BIOS boot process starts only if secondary storage, such as the hard disk, is functional

D.

The BIOS initiates the boot process after turning the computer on

E.

The BIOS is started by loading hardware drivers from secondary storage, such as the hard disk

Buy Now
Question # 46

Consider the following output from the command ls –i:

How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?

Options:

A.

ln –h a.txt c.txt

B.

ln c.txt a.txt

C.

ln a.txt c.txt

D.

ln –f c.txt a.txt

E.

ln –i 525385 c.txt

Buy Now
Question # 47

The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?

Options:

A.

job –b dmaint

B.

dbmaint &>/dev/pts/null

C.

nohup dbmaint &

D.

bg dbmaint

E.

wait dbmaint

Buy Now
Question # 48

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

Buy Now
Question # 49

Which of the following commands lists the dependencies of a given dpkg package?

Options:

A.

apt-cache depends-onpackage

B.

apt-cache dependencies package

C.

apt-cache depends package

D.

apt-cache requires package

Buy Now
Question # 50

When removing a package, which of the following dpkg options will completely remove the files including configuration files?

Options:

A.

--clean

B.

--delete

C.

--purge

D.

–remove

Buy Now
Question # 51

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

Options:

A.

dd if=/dev/zero of=/dev/sda bs=512

B.

dd if=/dev/zero of=/dev/sda bs=512 count=1

C.

dd if=/dev/zero of=/dev/sda bs=440 count=1

D.

dd if=/dev/zero of=/dev/sda bs=440

Buy Now
Question # 52

After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?

Options:

A.

kill -HUP $(pidof grub)

B.

grub-install

C.

grub

D.

No action is required

Buy Now
Question # 53

Which of the following is correct when talking about mount points?

Options:

A.

Every existing directory can be used as a mount point.

B.

Only empty directories can be used as a mount point.

C.

Directories need to have the SetUID flag set to be used as a mount point.

D.

Files within a directory are deleted when the directory is used as a mount point.

Buy Now
Exam Code: 101-500
Exam Name: LPIC-1 Exam 101, Part 1 of 2, version 5.0
Last Update: Apr 3, 2025
Questions: 243
101-500 pdf

101-500 PDF

$25.5  $84.99
101-500 Engine

101-500 Testing Engine

$28.5  $94.99
101-500 PDF + Engine

101-500 PDF + Testing Engine

$40.5  $134.99