LPIC-1 Exam 101, Part 1 of 2, version 5.0
Last Update May 18, 2024
Total Questions : 243
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.
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
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.)
In compliance with the FHS, in which of the following directories are documentation files found?
Which of the following commands converts spaces in a file to tab characters and prints the result to standard output?
Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
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?
Which of the following commands are common Linux commands for file management? (Choose three correct answers.)
Which command will uninstall a package but leave its configuration files in case the package is re-installed?
Which command creates a swap space on a block device or a file? (Specify ONLY the command without any path or parameters.)
What is the process ID number of the init process on a SysV init based system?
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
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?
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)
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?
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
During a system boot cycle, what program is executed after the BIOS completes its tasks?
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?
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?
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.)
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
Which of the following commands is used to change options and positional parameters for a running Bash?
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.)
Which of the following command sets the Bash variable named TEST with the content FOO?
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?
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
What does the + symbol mean in the following grep regular expression:
grep '^d[aei]\+d$' /usr/share/dict/words
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
Which variable defines the directories in which a Bash shell searches for executable commands?
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
What happens after issuing the command vi without any additional parameters?
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
In which directory must definition files be placed to add additional repositories to yum?
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)
Which of the following commands lists the dependencies of a given dpkg package?
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.)
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
What is the difference between the --remove and the --purge action with the dpkg command?
You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. What command do you issue?
Which of the following commands updates the linker cache of shared libraries?
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
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?
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the command without any path or parameters.)
What output will be displayed when the user fred executes the following command?
echo ‘fred $USER’
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.)
Which of the following apt-get subcommands installs the newest versions of all currently installed packages?
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2
Which of the following directories on a 64-bit Linux system typically contain shared libraries? (Choose two.)
Which of the following are valid stream redirection operators within Bash? (Choose two.)
A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?
Which command must be entered before exiting vi to save the current file as filea.txt?