Big Black Friday Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ExamsBrite Dumps

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

LPIC-1 Exam 101, Part 1 of 2, version 5.0

Last Update Nov 30, 2025
Total Questions : 293

We are offering FREE 101-500 LPI exam questions. All you do is to just go and sign up. Give your details, prepare 101-500 free exam questions and then go for complete pool of LPIC-1 Exam 101, Part 1 of 2, version 5.0 test questions that will help you more.

101-500 pdf

101-500 PDF

$36.75  $104.99
101-500 Engine

101-500 Testing Engine

$43.75  $124.99
101-500 PDF + Engine

101-500 PDF + Testing Engine

$57.75  $164.99
Questions 1

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

Discussion 0
Questions 2

Which command is used to query information about the available packages on a Debian system?

Options:

A.  

apt-cache

B.  

apt-get

C.  

apt-search

D.  

dpkg

E.  

dpkg-search

Discussion 0
Questions 3

Which of the following commands print the current working directory when using a Bash shell? (Choose two.)

Options:

A.  

echo “${PWD}”

B.  

echo “${WD}”

C.  

pwd

D.  

printwd

E.  

echo “${pwd}”

Discussion 0
Questions 4

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)

Options:

A.  

FIND

B.  

ID

C.  

LABEL

D.  

NAME

E.  

UUID

Discussion 0
Questions 5

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

Options:

A.  

editquota

B.  

setquota

C.  

edquota

D.  

quotaedit

E.  

quotaset

Discussion 0
Questions 6

The system configuration file named _______ is commonly used to set the default runlevel. (Please provide the file name with full path information)

Options:

Discussion 0
Questions 7

In Bash, inserting 2>&1 after a command redirects:

Options:

A.  

standard error to standard input.

B.  

standard input to standard error.

C.  

standard output to standard error.

D.  

standard error to standard output.

E.  

standard output to standard input.

Discussion 0
Questions 8

Which function key is used to start Safe Mode in Windows NT?

Options:

A.  

F10

B.  

F8

C.  

F6

D.  

Windows NT does not support Safe Mode

Discussion 0
Questions 9

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

Discussion 0
Questions 10

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

Discussion 0
Questions 11

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:

Discussion 0
Questions 12

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.)

Options:

Discussion 0
Questions 13

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

Discussion 0
Questions 14

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

    Swapoff

    /sbin/swapoff

Options:

Discussion 0
Questions 15

Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)

      update

      upgrade

Options:

Discussion 0
Questions 16

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

Discussion 0
Questions 17

An administrator has issued the following command:

grub-install --root-directory=/custom-grub /dev/sda

In which directory will new configuration files be found? (Provide the full directory path only without the filename)

Options:

A.  

/custom-grub/boot/grub/

B.  

/custom-grub/boot/grub

Discussion 0
Questions 18

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

Discussion 0
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.

Discussion 0
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

Discussion 0
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:

Discussion 0
Questions 22

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

Options:

A.  

hidemenu

B.  

splash

C.  

timeout

D.  

showmenu

Discussion 0
Questions 23

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

Discussion 0
Questions 24

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

Discussion 0
Questions 25

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.

Discussion 0
Questions 26

Which daemon handles power management events on a Linux system?

Options:

A.  

acpid

B.  

batteryd

C.  

pwrmgntd

D.  

psd

E.  

inetd

Discussion 0
Questions 27

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}"

Discussion 0
Questions 28

When considering the use of hard links, what are valid reasons not to use hard links?

Options:

A.  

Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them

B.  

Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content

C.  

Hard links are specific to one filesystem and cannot point to files on another filesystem

D.  

If users other than root should be able to create hard links, suln has to be installed and configured

E.  

When a hard linked file is changed, a copy of the file is created and consumes additional space

Discussion 0
Questions 29

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

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

Discussion 0
Questions 30

What is true regarding UEFI firmware? (Choose two.)

Options:

A.  

It can read and interpret partition tables

B.  

It can use and read certain file systems

C.  

It stores its entire configuration on the /boot/ partition

D.  

It is stored in a special area within the GPT metadata

E.  

It is loaded from a fixed boot disk position

Discussion 0
Questions 31

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

Discussion 0
Questions 32

Which mechanism does ssh use to interact with the SSH agent?

Options:

A.  

Connecting to port 2222 which is used by the system-w»de SSH agent

B.  

Using the fixed socket .ssh-agenc/ipc.

C.  

Creating an alias replacing ssh with calls to ssh-agent

D.  

Starting sab-agent as a child process for each ssh invocation

E.  

Evaluating environment variables such as ssh_auth_sock.

Discussion 0
Questions 33

Which of the following commands will delete the default gateway from the system's IP routing table? (Choose TWO correct answers)

ifconfig unset default

Options:

A.  

route del default

B.  

ip route del default

C.  

netstat -r default

D.  

sysctl ipv4.default gw=0

Discussion 0
Questions 34

Which file contains the date of the last change of a user's password?

Options:

A.  

/etc/gshadow

B.  

/etc/passwd

C.  

/etc/pwdlog

D.  

/var/log/shadow

E.  

/etc/shadow

Discussion 0
Questions 35

Which program runs a command in specific intervals and refreshes the display of the program’s output? (Specify ONLY the command without any path or parameters.)

Options:

Discussion 0
Questions 36

Which wildcards will match the following filenames? (Choose two.)

ttyS0

ttyS1

ttyS2

Options:

A.  

ttyS[1-5]

B.  

tty?[0-5]

C.  

tty*2

D.  

tty[A-Z][012]

E.  

tty[Ss][02]

Discussion 0
Questions 37

Which command must be entered before exiting vi to save the current file as filea.txt?

Options:

A.  

%s filea.txt

B.  

%w filea.txt

C.  

:save filea.txt

D.  

:w filea.txt

E.  

:s filea.txt

Discussion 0
Questions 38

Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

Options:

A.  

*

B.  

-

C.  

$

D.  

#

E.  

x

Discussion 0
Questions 39

Which of the following tasks are handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

Options:

A.  

Configure additional devices like new monitors or projectors when they are attached

B.  

Start and prepare the desktop environment for the user

C.  

Create an X11 configuration file for the current graphic devices and monitors

D.  

Lock the screen when the user was inactive for a configurable amount of time

E.  

Handle the login of a user

Discussion 0
Questions 40

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

Discussion 0
Questions 41

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

Discussion 0
Questions 42

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

Discussion 0
Questions 43

Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?

Options:

A.  

SIGTERM

B.  

SIGINT

C.  

SIGSTOP

D.  

SIGKILL

Discussion 0
Questions 44

Which command uninstalls a package but keeps its configuration files in case the package is re-installed?

Options:

A.  

dpkg –s pkgname

B.  

dpkg –L pkgname

C.  

dpkg –P pkgname

D.  

dpkg –v pkgname

E.  

dpkg –r pkgname

Discussion 0
Questions 45

Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)

      mkdir

      /usr/bin/mkdir

Options:

Discussion 0
Questions 46

Which of the following commands is used to change options and positional parameters for a running Bash?

Options:

A.  

history

B.  

set

C.  

bashconf

D.  

setsh

E.  

envsetup

Discussion 0
Questions 47

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

Options:

A.  

cat < myapp | cat > file1.log

B.  

myapp 0>&1 | cat > file1.log

C.  

myapp | cat > file1.log

D.  

myapp | tee file1.log

E.  

tee myapp file1.log

Discussion 0
Questions 48

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.

Discussion 0
Questions 49

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.

Discussion 0
Questions 50

When given the following command line.

echo "foo bar" | tee bar | cat

Which of the following output is created?

Options:

A.  

cat

B.  

foo bar

C.  

tee bar

D.  

bar

E.  

foo

Discussion 0
Questions 51

: 6

The /etc/_______ file lists currently mounted devices.

Options:

Discussion 0
Questions 52

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.

Discussion 0
Questions 53

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?

Options:

A.  

sed '/bob/Bob' letter > newletter

B.  

sed s/bob/Bob/ letter < newletter

C.  

sed's/bob/Bob' letter > newletter

D.  

sed 's/bob/Bob/g' letter > newletter

E.  

sed 's/bob, Bob/' letter > newletter

Discussion 0
Questions 54

What is the output of the following command?

echo "Hello World" | tr -d aieou

Options:

A.  

Hello World

B.  

eoo

C.  

Hll Wrld

D.  

eoo Hll Wrld

Discussion 0
Questions 55

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

Options:

A.  

magic

B.  

type

C.  

file

D.  

pmagic

E.  

hash

Discussion 0
Questions 56

Which of the following statements is correct regarding the command foo 1> bar?

Options:

A.  

The stdout from the command foo is appended to the file bar.

B.  

The stdout from the command foo overwrites the file bar.

C.  

The command foo receives its stdin from the file bar.

D.  

The command foo receives its stdin from the stdout of the command bar.

E.  

The stderr from the command foo is saved to the file bar.

Discussion 0
Questions 57

In the vi editor, which of the following commands will copy the current line into the vi buffer?

Options:

A.  

c

B.  

cc

C.  

1c

D.  

yy

E.  

1y

Discussion 0
Questions 58

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:

Discussion 0
Questions 59

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

Options:

Discussion 0
Questions 60

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

Options:

A.  

fmt -f 1,4 /etc/passwd

B.  

split -c 1,4 /etc/passwd

C.  

cut -d : -f 1,4 /etc/passwd

D.  

paste -f 1,4 /etc/passwd

Discussion 0
Questions 61

You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?

Options:

A.  

The source file is hidden.

B.  

The source file is read-only.

C.  

The source file is a shell script.

D.  

You do not own the source file.

E.  

The source and the target are on different filesystems.

Discussion 0
Questions 62

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

Options:

Discussion 0
Questions 63

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

Discussion 0
Questions 64

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

Discussion 0
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.

Discussion 0
Questions 66

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

Discussion 0
Questions 67

Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)

Options:

Discussion 0
Questions 68

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

Discussion 0
Questions 69

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

Discussion 0
Questions 70

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

Options:

A.  

silent

B.  

verbose=0

C.  

nomesg

D.  

quiet

Discussion 0
Questions 71

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

Discussion 0
Questions 72

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

Options:

Discussion 0
Questions 73

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

Options:

Discussion 0
Questions 74

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

Discussion 0
Questions 75

You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?

Options:

A.  

telinit 1

B.  

shutdown -r now

C.  

killall -9 inetd

D.  

/bin/netstop --maint

E.  

/etc/rc.d/init.d/network stop

Discussion 0
Questions 76

Which of the following statements is correct when talking about /proc/?

Options:

A.  

All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.

B.  

All files within /proc/ are read-only and their contents cannot be changed.

C.  

All changes to files in /proc/ are immediately recognized by the kernel.

D.  

All files within /proc/ are only readable by the root user.

Discussion 0
Questions 77

Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

Options:

A.  

shutdown -R 1 now

B.  

shutdown -single now

C.  

init 1

D.  

telinit 1

E.  

runlevel 1

Discussion 0
Questions 78

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

Discussion 0
Questions 79

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:

Discussion 0
Questions 80

Which of the following commands will load a kernel module along with any required dependency modules?

Options:

A.  

depmod

B.  

insmod

C.  

modprobe

D.  

module_install

E.  

loadmod

Discussion 0
Questions 81

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

Options:

Discussion 0
Questions 82

Which of the following file permissions belong to a symbolic link?

Options:

A.  

-rwxrwxrwx

B.  

+rwxrwxrwx

C.  

lrwxrwxrwx

D.  

srwxrwxrwx

Discussion 0
Questions 83

Which of the following describes the correct order in which the components of the system boot process are started?

Options:

A.  

BIOS, kernel, bootloader, init system

B.  

BIOS, bootloader,kernel, init system

C.  

Bootloader, BIOS, kernel, init system

D.  

BIOS, bootloader, init system, kernel

E.  

Bootloader, BIOS, init system, kernel

Discussion 0
Questions 84

Which of the following commands will print important system information such as the kernel version and machine hardware architecture?

Options:

A.  

sysinfo

B.  

uname

C.  

lspci

D.  

arch

E.  

info

Discussion 0
Questions 85

Which signal is sent by the kill command by default?

Options:

A.  

SIGHUP(1)

B.  

SIGQUIT(3)

C.  

SIGKILL(9)

D.  

SIGTERM(15)

Discussion 0
Questions 86

Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been compiled by the system administrator be placed in order to be made available to all users on the system?

Options:

Discussion 0
Questions 87

Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?

Options:

A.  

chmod 1755 /bin/foo

B.  

chmod 4755 /bin/foo

C.  

chmod u-s /bin/foo

D.  

chmod 755+s /bin/foo

Discussion 0