Summer Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

101-500 PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

101-500 PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: LPIC-1 Exam 101, Part 1 of 2, version 5.0
  • Last Update: Sep 12, 2025
  • Questions and Answers: 243
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

101-500 Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

101-500 Practice Exam Questions with Answers LPIC-1 Exam 101, Part 1 of 2, version 5.0 Certification

Question # 6

Which command creates a swap space on a block device or a file? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 7

Which of the following statements is correct for a command line ending with a & character?

A.

The command’s output is redirected to/dev/null.

B.

The result of the command defines if the next command will be run.

C.

Thecommand is run in background of the current shell.

D.

The command is run as a direct child of theinitprocess.

Full Access
Question # 8

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

A.

grep'/$' foo

B.

grep '/#' foo

C.

grep -v '/$' foo

D.

grep -v '/#' foo

Full Access
Question # 9

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?

A.

rmdir '~/\dir'

B.

rmdir "~/\dir"

C.

rmdir ~/'dir'

D.

rmdir ~/\dir

E.

rmdir ~/\\dir

Full Access
Question # 10

Which of the following explanations are valid reasons to run a command in the background of your shell?

A.

The command does not need to execute immediately.

B.

The command has to run immediately but the user needs to log out.

C.

The system is being shut down and the command needs to restart execution immediately after the reboot.

D.

The command can run at a lower priority than normal commands run on the command line.

Full Access
Question # 11

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

A.

find /tmp -uid root -print

B.

find -path /tmp -uid root

C.

find /tmp -user root -print

D.

find /tmp -user root

E.

find -path /tmp -user root –print

Full Access
Question # 12

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

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

Full Access
Question # 13

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?

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.

Full Access
Question # 14

Which of the following shell redirections will write standard output and standard error output to a file named filename?

A.

2>&1 >filename

B.

>filename 2>&1

C.

1>&2>filename

D.

>>filename

E.

1&2>filename

Full Access
Question # 15

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

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.

Full Access
Question # 16

What is the effect of the egrep command when the -v option is used?

A.

It enables color to highlight matching parts.

B.

It only outputs non-matching lines.

C.

It shows the command's version information.

D.

It changes the output order showing the last matching line first.

Full Access
Question # 17

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

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

Full Access
Question # 18

In compliance with the FHS, in which of the following directories are documentation files found?

A.

/usr/share/documentation

B.

/usr/local/share/documentation

C.

/var/share/doc

D.

/usr/share/doc

E.

/etc/share/doc

Full Access
Question # 19

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

A.

dirname

B.

which

C.

basename

D.

query

E.

whereis

Full Access
Question # 20

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

A.

echo “${PWD}”

B.

echo “${WD}”

C.

pwd

D.

printwd

E.

echo “${pwd}”

Full Access
Question # 21

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

A.

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

B.

By creating a 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.

Full Access
Question # 22

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

Full Access
Question # 23

Which of the following commands will print the last 10 lines of a text file to the standard output?

A.

cat -n 10 filename

B.

dump -n 10 filename

C.

head -n 10 filename

D.

tail -n 10 filename

Full Access
Question # 24

In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?

A.

-dirmax

B.

-maxdepth

C.

-maxlevels

D.

-n

E.

-s

Full Access
Question # 25

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

A.

LD_LOAD_PATH

B.

LD_LIB_PATH

C.

LD_LIBRARY_PATH

D.

LD_SHARE_PATH

E.

LD_RUN_PATH

Full Access
Question # 26

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 27

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

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

Full Access
Question # 28

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

  • Swapoff
  • /sbin/swapoff
Full Access
Question # 29

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?

A.

auto-update

B.

upgrade

C.

dist-upgrade

D.

install

E.

update

Full Access
Question # 30

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

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.

Full Access
Question # 31

Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

A.

apt

B.

apt-cache

C.

apt-get

D.

apt-search

E.

dpkg

Full Access
Question # 32

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

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

Full Access
Question # 33

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?

A.

hidemenu

B.

splash

C.

timeout

D.

showmenu

Full Access
Question # 34

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

A.

mkcache

B.

soconfig

C.

mkldconfig

D.

lddconfig

E.

ldconfig

Full Access
Question # 35

Which of the following commands is used to update the list of available packages when using dpkg based package management?

A.

apt-get update

B.

apt-get upgrade

C.

apt-cache update

D.

apt-get refresh

E.

apt-cache upgrade

Full Access
Question # 36

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

A.

yum --query --all

B.

yum --list --installed

C.

rpm --query --all

D.

rpm --list –installed

Full Access
Question # 37

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?

A.

LD_LOAD_PATH

B.

LD_LIB_PATH

C.

LD_LIBRARY_PATH

D.

LD_SHARE_PATH

E.

LD_RUN_PATH

Full Access
Question # 38

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
Full Access
Question # 39

Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 40

Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)

A.

/var

B.

/var/,

C.

Var

D.

var/

Full Access
Question # 41

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

Full Access
Question # 42

When is the content of the kernel ring buffer reset? (Choose two.)

A.

When the ring buffer is explicitly reset using the command dmesg --clear

B.

When the ring buffer is read using dmesg without any additional parameters

C.

When a configurable amount of time, 15 minutes by default, has passed

D.

When the kernel loads a previously unloaded kernel module

E.

When the system is shut down or rebooted

Full Access
Question # 43

Which is the default percentage of reserved space for the root user on new ext4 filesystems?

A.

10%

B.

3%

C.

15%

D.

0%

E.

5%

Full Access
Question # 44

Which of the following vi commands deletes two lines, the current and the following line?

A.

d2

B.

2d

C.

2dd

D.

dd2

E.

de12

Full Access
Question # 45

What does the command mount --bind do?

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

Full Access
Question # 46

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

A.

dpkg –s pkgname

B.

dpkg –L pkgname

C.

dpkg –P pkgname

D.

dpkg –v pkgname

E.

dpkg –r pkgname

Full Access
Question # 47

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

A.

0

B.

1

C.

3

D.

5

E.

6

Full Access
Question # 48

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

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

Full Access
Question # 49

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?

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.

Full Access
Question # 50

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

A.

/etc/keys

B.

/proc/keys

C.

/etc/inittab

D.

/proc/inittab

E.

/etc/reboot

Full Access
Question # 51

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

A.

/lib/init.so

B.

/sbin/init

C.

/etc/rc.d/rcinit

D.

/proc/sys/kernel/init

E.

/boot/init

Full Access
Question # 52

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

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.

Full Access
Question # 53

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

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

Full Access
Question # 54

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)

Full Access
Question # 55

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

A.

Device IRQ settings

B.

PCI bus speed

C.

System battery type

D.

Device vendor identification

E.

Ethernet MAC address

Full Access
Question # 56

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

Full Access
Question # 57

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

A.

silent

B.

verbose=0

C.

nomesg

D.

quiet

Full Access
Question # 58

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

A.

shutdown -R 1 now

B.

shutdown -single now

C.

init 1

D.

telinit 1

E.

runlevel 1

Full Access
Question # 59

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)

A.

startd

B.

systemd

C.

Upstart

D.

SysInit

E.

SysV init

Full Access
Question # 60

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?

A.

telinit 1

B.

shutdown -r now

C.

killall -9 inetd

D.

/bin/netstop --maint

E.

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

Full Access
Question # 61

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?

Full Access
Question # 62

What is the purpose of the xargs command?

A.

It passes arguments to an X server.

B.

It reads standard input (STDIN) and builds up command lines to execute.

C.

It helps shell scripts take variable argument lists.

D.

It asks a question, graphically, and returns the answer to the shell.

E.

It allows users to specify long options for commands that normally only accept short options.

Full Access
Question # 63

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

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

Full Access
Question # 64

Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?

A.

lsattr foo

B.

apropos foo

C.

locate foo

D.

whatis foo

E.

which foo

Full Access
Question # 65

What is true regarding the command

ls > files

if files do not exist?

A.

The output of ls is printed to the terminal

B.

files is created and contains the output of ls

C.

An error message is shown and ls is not executed

D.

The command files is executed and receives the output of ls

E.

Any output of ls is discarded

Full Access
Question # 66

Which of the following directories on a 64-bit Linux system typically contain shared libraries? (Choose two.)

A.

~/.lib64/

B.

/usr/lib64/

C.

/var/lib64/

D.

/lib64/

E.

/opt/lib64/

Full Access
Question # 67

What is the first program the Linux kernel starts at boot time when using System V init?

A.

/lib/init.so

B.

/proc/sys/kernel/init

C.

/etc/rc.d/rcinit

D.

/sbin/init

E.

/boot/init

Full Access
Question # 68

Which of the following files exist in a standard GRUB 2 installation? (Choose two.)

A.

/boot/grub/stages/stage0

B.

/boot/grub/i386-pc/1vm.mod

C.

/boot/grub/fstab

D.

/boot/grub/grub.cfg

E.

/boot/grub/linux/vmlinuz

Full Access
Question # 69

Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?

A.

grep –E ‘:08:[09]+:[09]+’ loga.log

B.

grep –E ‘:08:[00]+’ loga.log

C.

grep –E loga.log ‘:08:[0-9]+:[0-9]+’

D.

grep loga.log ‘:08:[0-9]:[0-9]’

E.

grep –E ‘:08:[0-9]+:[0-9]+’ loga.log

Full Access
Question # 70

Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?

A.

grub2 install /dev/sdc

B.

grub-mkrescue /dev/sdc

C.

grub-mbrinstall /dev/sdc

D.

grub-setup /dev/sdc

E.

grub-install /dev/sdc

Full Access
Question # 71

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

A.

–rep-space

B.

-printnul

C.

-nospace

D.

–ignore-space

E.

–print0

Full Access
Question # 72

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

ttyS0

ttyS1

ttyS2

A.

ttyS[1-5]

B.

tty?[0-5]

C.

tty*2

D.

tty[A-Z][012]

E.

tty[Ss][02]

Full Access