LPIC-1 101-500 Exam
Study another certificationProgress0%
Recent accuracy0%
Review due0questions
Answered0 / 296questions
Practice by topic
101 System architectureHardware, boot processes, and system state management with systemd.
102 Linux installation and package managementDisk layouts, boot management, libraries, packages, and virtualization.
103 GNU and Unix commandsCommand-line operation, text processing, file management, processes, regular expressions, and vi.
104 Devices, Linux filesystems, and FHSFilesystems, mounts, permissions, links, and standard file locations.
Practice by topic
Practice settings
Question count
10questions1296questions
This session: 10questions / eligible: 296 questions
Learning modes
Quick practice
Start quick practice
Question count
10questions1296questions
This session: 10 questions / pool: 296 questions
Review
Start review
Question count
0questions00questions
This session: 0 questions / pool: 0 questions
Browse questions by objective
Choose a topic to read an individual question, its hints, and explanations. No session setup is required.
103.1 Command-line operation18 questions
- Passing a variable to a child shell
- Finding all command resolutions
- Changing an environment variable for one command
- Removing a shell variable
- Printing $HOME literally
- Saving command output in a variable
- Running the next command only on success
- Running a fallback only on failure
- Running the next command regardless of status
- Executing a script in the current directory
- Prepending a directory to PATH
- Printing the physical working directory
- Running a command with an empty environment
- Inspecting an unexported shell variable
- Showing only recent history
- Deleting one history entry
- Searching manual descriptions
- Printing the running kernel release
103.2 Text stream processing14 questions
- Listing unique service names
- Sorting CSV rows by a numeric field in descending order
- Concatenating files in the given order
- Showing the first five lines
- Counting input lines
- Converting lowercase to uppercase
- Browsing a large log interactively
- Generating a SHA-256 digest
- Numbering every line, including blank lines
- Inspecting newline bytes in hexadecimal
- Joining corresponding lines side by side
- Replacing every occurrence on each line
- Splitting a file every 100 lines
- Displaying xz-compressed text
103.3 Basic file management20 questions
- Moving temporary files recursively
- Creating an archive without a parent directory prefix
- Copying a directory while preserving attributes
- Copying only when the source is newer
- Creating a directory hierarchy with its parents
- Renaming a file in the same directory
- Recursively removing a directory tree
- Removing only an empty directory
- Creating a missing empty file
- Listing hidden files without special entries
- Finding regular files larger than 10 MiB
- Finding symbolic links
- Extracting a gzip-compressed tar archive
- Creating a newc cpio archive from a path list
- Copying a device into an image file
- Detecting only the MIME type from content
- Compressing with gzip while keeping the source
- Decompressing bzip2 while keeping the source
- Decompressing an xz file
- Matching filenames with exactly one digit
103.4 Streams, pipes, and redirection18 questions
- Saving only standard error to a separate file
- Passing filenames with spaces safely to xargs
- Overwriting a file with standard output
- Appending standard output to an existing log
- Reading standard input from a file
- Saving only standard error
- Saving output and errors separately
- Saving both streams to one file
- Keeping only standard error on the terminal
- Piping both streams into a filter
- Discarding only standard error
- Counting lines selected by a pipeline
- Saving to two files while displaying output
- Turning standard input into command arguments
- Limiting xargs to two arguments per run
- Placing an xargs item in the middle of arguments
- Skipping xargs when input is empty
- Passing a literal variable reference with a quoted here-document
103.5 Process creation, monitoring, and termination18 questions
- Resuming a stopped process
- Receiving a background process exit status
- Starting a command in the background
- Listing shell jobs with their PIDs
- Bringing a background job to the foreground
- Resuming a stopped job in the background
- Starting a job that ignores hangups
- Displaying all processes in full format
- Taking one non-interactive top snapshot
- Displaying memory usage in readable units
- Showing uptime and load averages
- Finding PIDs with an exact process name
- Sending TERM to exact-name processes
- Requesting normal termination by PID
- Sending TERM to every process with a command name
- Refreshing a command every five seconds
- Starting a named detached screen session
- Starting a named detached tmux session
103.6 Changing process priority10 questions
- Starting a new process with a lower priority
- Changing the nice value of a running process
- Determining the default nice value
- Interpreting nice value direction
- Determining nice's default adjustment
- Applying a relative nice adjustment
- Checking permission for a negative nice adjustment
- Showing a PID's nice and priority columns
- Changing a process nice value from top
- Setting one nice value for multiple PIDs
103.7 Searching text with regular expressions16 questions
- Extracting only fully matching IDs
- Replacing every run of whitespace
- Searching for a literal period
- Matching one non-digit character
- Matching one or more repetitions
- Matching an optional character
- Grouping an alternation
- Matching a fixed bracketed line exactly
- Excluding comments and blank lines
- Case-insensitive whole-line matching
- Matching a whole word
- Counting matching lines
- Printing each match separately
- Testing for a match without output
- Specifying repetition in a BRE
- Reordering captured fields with sed
103.8 Basic file editing12 questions
- Duplicating the current line in vi
- Opening a new line below the current line
- Moving to a specified line number
- Deleting the current line
- Undoing the previous change
- Redoing an undone change
- Moving to the next match of the same search
- Replacing one character under the cursor
- Changing a word
- Replacing every match on the current line
- Saving changes and quitting
- Discarding changes and quitting
101.1 Hardware and device information10 questions
- Checking CPU model information in procfs
- Checking the driver for a PCI device
- Displaying detailed USB descriptors
- Listing loaded kernel modules
- Loading a module with dependencies
- Removing a module with modprobe
- Inspecting the kernel device hierarchy
- Checking interrupt assignments and counts
- Applying rules to hotplug events
- Showing PCI names and numeric IDs
101.2 System boot, init, and shutdown14 questions
- Determining what UEFI runs next
- Ordering the BIOS boot stage
- Identifying the bootloader's role
- Determining the purpose of initramfs
- Checking the current kernel arguments
- Specifying the root filesystem
- Selecting an alternate init program
- Identifying the current PID 1
- Identifying systemd's boot-time role
- Identifying SysVinit startup processing
- Identifying Upstart's design
- Checking kernel boot messages
- Showing logs for the current boot
- Showing logs from the previous boot
101.3 System boot, init, and shutdown14 questions
- Checking the default boot target
- Setting the default target for the next boot
- Switching the current state to non-graphical mode
- Entering systemd rescue mode
- Rebooting through systemd
- Powering off through systemd
- Scheduling a reboot with a notice
- Cancelling a scheduled shutdown
- Broadcasting a message to logged-in users
- Checking previous and current runlevels
- Changing to SysVinit runlevel 3
- Setting a SysVinit default runlevel
- Choosing the administrator systemd unit directory
- Handling ACPI events in user space
102.1 Disk layout and partitioning10 questions
102.2 Bootloader configuration10 questions
- Identifying GRUB 2's generated configuration
- Changing GRUB 2 generation inputs
- Regenerating GRUB 2 configuration
- Installing GRUB on a BIOS disk
- Specifying the ESP for UEFI GRUB
- Editing a GRUB menu entry for one boot
- Opening the GRUB command line
- Specifying a kernel and initramfs in GRUB 2
- Identifying the GRUB Legacy menu file
- Identifying the role of the MBR
102.3 Shared libraries6 questions
102.4 Debian package management14 questions
- Installing a local deb package
- Removing a package while keeping configuration
- Removing a package and its configuration
- Listing files installed by a package
- Finding the package that owns a file
- Checking package status and metadata
- Reconfiguring an installed package
- Updating repository package indexes
- Installing a package with dependency resolution
- Removing a package while keeping configuration
- Searching package names and descriptions
- Displaying repository package metadata
- Displaying package dependencies
- Selecting a dependency-changing system upgrade
102.5 RPM package management16 questions
- Upgrading or installing an RPM package
- Updating only already-installed RPMs
- Removing an RPM package
- Inspecting an installed RPM
- Listing files owned by an RPM
- Finding the RPM that owns a file
- Verifying changes to installed files
- Inspecting requirements of an uninstalled RPM
- Checking an RPM archive signature
- Extracting an RPM without installing it
- Reinstalling a package with YUM
- Finding a repository package that provides a file
- Persistently configuring a YUM repository
- Refreshing Zypper repository metadata
- Installing a package with Zypper
- Applying available Zypper package updates
102.6 Virtualization concepts6 questions
104.1 Partitioning and filesystems10 questions
- Inspecting a partition table without changing it
- Editing a GPT interactively
- Creating a new GPT partition table
- Creating an ext4 filesystem
- Creating an XFS filesystem
- Creating a VFAT-compatible filesystem
- Creating an exFAT filesystem
- Initializing a Linux swap area
- Understanding Btrfs subvolumes
- Identifying Btrfs capabilities
104.2 Filesystem administration10 questions
- Summarizing directory disk usage
- Checking filesystem free space
- Checking for inode exhaustion
- Checking filesystems listed in fstab
- Forcing a complete ext4 check
- Displaying ext4 tuning values
- Setting an ext4 mount-count check interval
- Checking XFS without modifying it
- Reorganizing XFS file extents
- Inspecting XFS internals read-only
104.3 Mounting filesystems14 questions
- Mounting a device manually
- Defining a persistent UUID mount
- Mounting all eligible fstab entries
- Detaching a filesystem
- Reading the fstab field order
- Suppressing automatic mounting
- Allowing a regular user to mount
- Inspecting a device's UUID and type
- Surveying block devices and mounts
- Specifying a mount by filesystem label
- Exposing one directory at another mount point
- Deriving a systemd mount-unit name
- Choosing a standard removable-media mount point
- Mounting a filesystem read-only
104.5 File permissions16 questions
- Adding execute permission for the owner
- Reading numeric mode 640
- Removing all permissions from group and others
- Adding search permission only where appropriate
- Changing only a file owner
- Changing owner and group together
- Changing only the owning group
- Creating a regular file with umask 027
- Creating a directory with umask 002
- Confirming that umask cannot add execute bits
- Setting setuid on an executable
- Understanding the setuid ID change
- Setting setgid on a shared directory
- Group inheritance in a setgid directory
- Setting sticky bit on a shared directory
- Deletion rules in a sticky directory
104.6 Links8 questions
104.7 Filesystem hierarchy12 questions
- Placing host-specific configuration
- Placing persistent service logs
- Placing shareable userland software
- Placing an add-on application
- Placing data served by a service
- Placing short-lived temporary files
- Searching files by name and type
- Searching regular files by owner
- Why locate misses a new file
- Updating the locate database
- Finding a command and its manual
- Showing every Bash interpretation of a name