Weekend Sale - 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dm70dm

101-500 LPIC-1 Exam 101, Part 1 of 2, version 5.0 Questions and Answers

Questions 4

Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

Options:

A.

dirname

B.

which

C.

basename

D.

query

E.

whereis

Buy Now
Questions 5

What is the purpose of the Filesystem Hierarchy Standard?

Options:

A.

It is a security model used to ensure files are organized according to their permissions and accessibility.

B.

It provides unified tools to create, maintain and manage multiple filesystems in a common way.

C.

It defines a common internal structure of inodes for all compliant filesystems.

D.

Itis a distribution neutral description of locations of files and directories.

Buy Now
Questions 6

Which of the following commands will display the inode usage of each mounted filesystem?

Options:

A.

du –i

B.

df –i

C.

lsfs –i

D.

printfs –i

Buy Now
Questions 7

Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?

Options:

A.

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

B.

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

C.

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

D.

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

E.

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

Buy Now
Questions 8

Which signal is sent by the kill command by default?

Options:

A.

SIGHUP(1)

B.

SIGQUIT(3)

C.

SIGKILL(9)

D.

SIGTERM(15)

Buy Now
Questions 9

When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?

Options:

A.

–rep-space

B.

–print0

C.

–nospace

D.

–ignore-space

Buy Now
Questions 10

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

Buy Now
Questions 11

Creating a hard link to an ordinary file returns an error. What could be the reason for this?

Options:

A.

The source file is hidden.

B.

The source file is read-only.

C.

The source file is a shell script.

D.

The source file is already a hard link.

E.

The source and the target are on different filesystems.

Buy Now
Questions 12

Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?

Options:

A.

–a

B.

–c

C.

--no-clobber

D.

--continue

Buy Now
Questions 13

Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?

Options:

A.

82

B.

83

C.

8e

D.

fd

E.

7

Buy Now
Questions 14

Which of the following is a limitation of the cut command?

Options:

A.

Thecutcommand can only select output by field position.

B.

Thecutcommand cannot reorder fields.

C.

Thecutcommand only works on ASCII text.

D.

Thecutcommand cannot use different input and output delimiters.

Buy Now
Questions 15

Which of the following commands can be used to download the RPM package kernel without installing it?

Options:

A.

yum download --no-install kernel

B.

yumdownloader kernel

C.

rpm --download --package kernel

D.

rpmdownload kernel

Buy Now
Questions 16

In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)

Options:

A.

cat /proc/self/mounts

B.

free

C.

mount

D.

lsmounts

E.

cat /proc/filesystems

Buy Now
Questions 17

Which RPM command will output the name of the package which supplied the file /etc/exports?

Options:

A.

rpm -F /etc/exports

B.

rpm -qf /etc/exports

C.

rpm -Kl /etc/exports

D.

rpm -qp /etc/exports

E.

rpm -qi/etc/exports

Buy Now
Questions 18

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
Questions 19

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

Options:

A.

To create RAID 9 arrays.

B.

To dynamically change the size of logical volumes.

C.

To encrypt logical volumes.

D.

To create snapshots.

E.

To dynamically create or delete logical volumes.

Buy Now
Questions 20

Which of the following commands updates the linker cache of shared libraries?

Options:

A.

mkcache

B.

soconfig

C.

mkldconfig

D.

lddconfig

E.

ldconfig

Buy Now
Questions 21

The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.

Options:

Buy Now
Questions 22

You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. What command do you issue?

Options:

A.

rpm -qp apache-xml.i386.rpm

B.

rpm -qv apache-xml.i386.rpm

C.

rpm -ql apache-xml.i386.rpm

D.

rpm -qpl apache-xml.i386.rpm

Buy Now
Questions 23

Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?

killall -s _______ daemon

      HUP

      SIGHUP

      1

Options:

Buy Now
Questions 24

Which file should be edited to select the network locations from which Debian installation package files are loaded?

Options:

A.

/etc/dpkg/dpkg.cfg

B.

/etc/apt/apt.conf

C.

/etc/apt/apt.conf.d

D.

/etc/apt/sources.list

E.

/etc/dpkg/dselect.cfg

Buy Now
Questions 25

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
Questions 26

To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?

Options:

A.

LD_LOAD_PATH

B.

LD_LIB_PATH

C.

LD_LIBRARY_PATH

D.

LD_SHARE_PATH

E.

LD_RUN_PATH

Buy Now
Questions 27

What is the difference between the --remove and the --purge action with the dpkg command?

Options:

A.

--remove removes the program, --purge also removes the config files

B.

--remove only removes the program, --purge only removes the config files

C.

--remove removes a package, --purge also removes all packages dependent on it

D.

--remove removes only the package file itself, --purge removes all files related to the package

Buy Now
Questions 28

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

Options:

Buy Now
Questions 29

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
Questions 30

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

Buy Now
Questions 31

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
Questions 32

Which of the following commands lists all currently installed packages when using RPM package management?

Options:

A.

yum --query --all

B.

yum --list --installed

C.

rpm --query --all

D.

rpm --list –installed

Buy Now
Questions 33

To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.

Options:

A.

/tmp

B.

tmp

Buy Now
Questions 34

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
Questions 35

Which of the following commands puts the output of the command date into the shell variable mydate?

Options:

A.

mydate=''date"

B.

mydate="exec date"

C.

mydate="$ ((dare))"

D.

mydate=$(date)"

E.

mydate="${date}"

Buy Now
Questions 36

What does the term Braille Display refer to?

Options:

A.

A standardized high contract graphical theme for desktop applications

B.

A Linux desktop environment similar to KDE and GNOME

C.

A legacy display technology superseded by LCD

D.

A physical representation of characters using small dots

E.

A standard file format for data exchange, similar to XML

Buy Now
Questions 37

How can a specific user be prevented from scheduling tasks with at?

Options:

A.

By adding the specific user to the/etc/at.allow file

B.

By adding the specific user to the 'deny] section in the/etc/atd.conf lile

C.

By adding the specific user to the no jobs group

D.

By adding the specific user to the /etc/at. deny file

E.

By executing the atd —deny [user] command

Buy Now
Questions 38

If neither cron. allow nor cron. deny exist in /etc/, which of the following is true?

Options:

A.

Without additional configuration, all users may create user specific crontabs

B.

Without additional configuration, only root may create user specific crontabs

C.

The cron daemon will refuse to start and report missing files in the system's logfile

D.

When a user creates a user specific crontab the system administrator must approve it explicitly

E.

The default settings of /etc/crond.conf define whether or not user specific crontabs are generally allowed or not.

Buy Now
Questions 39

Which of the following commands finds all files owned by root that have the SetUID bit set?

Options:

A.

find / -user root -perm -4000

B.

find / -user 0 -mode +s

C.

find / -owner 0 -permits 0x100000000

D.

find / -owner root -setuid

E.

find / --filter uid=1 --filter pers=u+s

Buy Now
Questions 40

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
Questions 41

Which of the following commands installs all packages with a name ending with the string foo?

Options:

A.

zypper get “*foo”

B.

zypper update “foo?”

C.

zypper force “foo*”

D.

zypper install “*foo”

E.

zypper add “.*foo”

Buy Now
Questions 42

Consider the following directory:

drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales

Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

Options:

A.

chmod g+s sales

B.

setpol –R newgroup=sales sales

C.

chgrp –p sales sales

D.

chown --persistent *.sales sales

E.

chmod 2775 sales

Buy Now
Questions 43

What information related to a user account is modified using the chage command?

Options:

A.

Default ownership for new files

B.

Group membership

C.

Set of commands available to the user

D.

Password expiry information

E.

Default permissions for new files

Buy Now
Questions 44

A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?

Options:

A.

apt-get search /etc/debian_version

B.

apt –r /etc/debian_version

C.

find /etc/debian_version -dpkg

D.

dpkg –S /etc/debian_version

E.

apt-file /etc/debian_version

Buy Now
Questions 45

Which parameter is missing in the command

ip link set _dev eth0

to activate the previously inactive network interface eth0? (Specify the parameter only without any command, path or additional options)

Options:

Buy Now
Questions 46

Which of the following is true regarding the command sendmail?

Options:

A.

With any MTA, the sendmail command must be run periodically by the cron daemon.

B.

When using systemd, sendmail is an alias to relayctl.

C.

The sendmail command prints the MTA's queue history of which mails have been sent successfully.

D.

It is only available when the sendmail MTA is installed.

E.

All common MTAs, including Postfix and Exim, provide a sendmail command.

Buy Now
Questions 47

Which of the following are syslog facilities? (Choose TWO correct answers)

Options:

A.

locals

B.

accounting

C.

nail

D.

postmaster

E.

remote

Buy Now
Questions 48

Which of the following apt-get subcommands installs the newest versions of all currently installed packages?

Options:

A.

auto-update

B.

dist-upgrade

C.

full-upgrade

D.

install

E.

update

Buy Now
Questions 49

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

Buy Now
Questions 50

When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?

Options:

A.

–rep-space

B.

-printnul

C.

-nospace

D.

–ignore-space

E.

–print0

Buy Now
Questions 51

Which of the following commands lists all defined variables and functions within Bash?

Options:

A.

env

B.

export

C.

env -a

D.

set

E.

echo $ENV

Buy Now
Questions 52

What does the command mount --bind do?

Options:

A.

It makes the contents of one directory available in another directory

B.

It mounts all available filesystems to the current directory

C.

It mounts all user mountable filesystems to the user’s home directory

D.

It mounts all file systems listed in /etc/fstab which have the option userbind set

E.

It permanently mounts a regular file to a directory

Buy Now
Questions 53

The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?

Options:

A.

The kernel was unable to execute /bin/init

B.

The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk

C.

One or more of the filesystems on the hard disk has errors and a filesystem check should be run

D.

The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process

Buy Now
Questions 54

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"

Buy Now
Questions 55

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

Options:

A.

silent

B.

verbose=0

C.

nomesg

D.

quiet

Buy Now
Questions 56

During a system boot cycle, what program is executed after the BIOS completes its tasks?

Options:

A.

The bootloader

B.

The inetd program

C.

The init program

D.

The kernel

Buy Now
Questions 57

Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?

Options:

A.

/etc/keys

B.

/proc/keys

C.

/etc/inittab

D.

/proc/inittab

E.

/etc/reboot

Buy Now
Questions 58

You suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drivers?

Options:

Buy Now
Questions 59

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

Options:

Buy Now
Questions 60

What information can the lspci command display about the system hardware? (Choose THREE correct answers.)

Options:

A.

Device IRQ settings

B.

PCI bus speed

C.

System battery type

D.

Device vendor identification

E.

Ethernet MAC address

Buy Now
Questions 61

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

Buy Now
Questions 62

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

Buy Now
Questions 63

Which of the following information is stored within the BIOS? (Choose TWO correct answers.)

Options:

A.

Boot device order

B.

Linux kernel version

C.

Timezone

D.

Hardware configuration

E.

The system's hostname

Buy Now
Questions 64

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

Options:

A.

0

B.

1

C.

3

D.

5

E.

6

Buy Now
Questions 65

The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?

Options:

A.

Start in runlevel 1.

B.

Pass init=/bin/sh on the kernel parameter line.

C.

Pass /bin/sh on the kernel parameter line.

D.

Pass start=/bin/sh on the kernel parameter line.

Buy Now
Questions 66

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

Options:

A.

i (lowercase)

B.

P (uppercase)

C.

p (lowercase)

D.

U (uppercase)

E.

u (lowercase)

Buy Now
Questions 67

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

Options:

A.

systemd.target=rescue.target

B.

systemd.runlevel=rescue.target

C.

systemd.service=rescue.target

D.

systemd.default=rescue.target

E.

systemd.unit=rescue.target

Buy Now
Questions 68

The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)

Options:

Buy Now
Questions 69

During a system boot cycle, what is the program that is run after the BIOS completes its tasks?

Options:

A.

The bootloader

B.

The inetd program

C.

The init program

D.

The kernel

Buy Now
Questions 70

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

Options:

A.

Entries for all possible devices get created on boot even if those devices are not connected.

B.

Additional rules for udev can be created by adding them to /etc/udev/rules.d/.

C.

When using udev, it is not possible to create block orcharacter devices in /dev/ using mknod.

D.

The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.

E.

The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.

Buy Now
Questions 71

Which command will display messages from the kernel that were output during the normal boot sequence?

Options:

Buy Now
Questions 72

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.

&<

Buy Now
Questions 73

Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

Options:

Buy Now
Questions 74

What command will generate a list of user names from /etc/passwd along with their login shell?

Options:

A.

column -s : 1,7 /etc/passwd

B.

chop -c 1,7 /etc/passwd

C.

colrm 1,7 /etc/passwd

D.

cut -d: -f1,7 /etc/passwd

Buy Now
Questions 75

Which of the following commands moves and resumes in the background the last stopped shell job?

Options:

A.

run

B.

bg

C.

fg

D.

back

Buy Now
Questions 76

Which of the following commands can be used to create a USB storage media from a disk image?

Options:

A.

gdisk

B.

dd

C.

cc

D.

fdisk

E.

mount

Buy Now
Questions 77

What does the? symbol within regular expressions represent?

Options:

A.

Match the preceding qualifier one or more times.

B.

Match the preceding qualifier zero or more times.

C.

Match the preceding qualifier zero or one times.

D.

Match a literal? character.

Buy Now
Questions 78

Which grep command will print only the lines that do not end with a / in the file foo?

Options:

A.

grep'/$' foo

B.

grep '/#' foo

C.

grep -v '/$' foo

D.

grep -v '/#' foo

Buy Now
Questions 79

Which of the following commands will reduce all consecutive spaces down to a single space?

Options:

A.

tr '\s' ' ' < a.txt > b.txt

B.

tr -c ' ' < a.txt > b.txt

C.

tr -d ' ' < a.txt > b.txt

D.

tr -r ' ' '\n' < a.txt > b.txt

E.

tr -s ' ' < a.txt > b.txt

Buy Now
Questions 80

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?

Options:

A.

By using the command: repeat followed by the number and the command.

B.

By specifying the number right in front of a command such as 4l or 2yj.

C.

By selecting all affected lines using the shift and cursor keys before applying the command.

D.

By issuing a command such as: set repetition=4 which repeats every subsequent command 4 times.

Buy Now
Questions 81

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

Options:

Buy Now
Questions 82

Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?

Options:

A.

File size

B.

Modify timestamp

C.

Link count

D.

Inode number

E.

Permissions

Buy Now
Questions 83

Which of the following commands instructs SysVinit to reload its configuration file?

Options:

A.

reinit

B.

initreload

C.

telinit 7

D.

telinit q

E.

init reinit

Buy Now
Questions 84

Which of the following commands changes all occurrences of the word “bob” in file data to “Bob” and prints the result to standard output?

Options:

A.

sed‘/bob/Bob’ data

B.

sed‘s/bob/Bob/g’ data

C.

sed‘s/bob/Bob/’ data

D.

sed‘/bob/Bob/’ data

E.

sed‘s/bob,Bob/’ data

Buy Now
Questions 85

What is the difference between the i and a command of the vi editor?

Options:

A.

i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.

B.

i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.

C.

i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.

D.

i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.

Buy Now
Questions 86

What is the purpose of the Bash built-in export command?

Options:

A.

It allows disks to be mounted remotely.

B.

It runs a command as a process in a subshell.

C.

It makes the command history available to subshells.

D.

It sets up environment variables for applications.

E.

It shares NFS partitions for use by other systems on the network.

Buy Now
Questions 87

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

Options:

A.

source /usr/local/bin/runme.sh

B.

. /usr/local/bin/runme.sh

C.

/bin/bash /usr/local/bin/runme.sh

D.

/usr/local/bin/runme.sh

E.

run /usr/local/bin/runme.sh

Buy Now
Exam Code: 101-500
Exam Name: LPIC-1 Exam 101, Part 1 of 2, version 5.0
Last Update: Oct 10, 2025
Questions: 293

PDF + Testing Engine

$49.5  $164.99

Testing Engine

$37.5  $124.99
buy now 101-500 testing engine

PDF (Q&A)

$31.5  $104.99
buy now 101-500 pdf
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 10 Oct 2025