117-101 - LPI Level 1 Exam 101
Go back to LPI
The command mkfs -t ext3 /dev/hdb1 -T largefile creates what size of inode?
Which are common procedures to implement samba with LDAP? (Choose two.)
Configure Samba password backend to point to OpenLDAP server
Include the samba schema into OpenLDAP
What run level represents multi-user?
Which of the following GNU commands would be the most likely command you'd use to find the system load average?
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?
What command should be invoked to give the user sally read and write, but not execute, access to the file strategy.txt using Extended ACL entries?
setfacl -m user:sally:rw strategy.txt
Which of the following is an example path to a Linux software RAID array?
What does the command mount -a do?
It mounts all file systems listed in /etc/fstab
You have not run apt-get on a system for some time, but it has been run on the system before. What apt-get command would you run to download the latest list of packages, but not the packages themselves?
Which of the following commands is run last during boot on a system with quotas enabled?
In compliance with the FHS, in which of the following places are man pages typically found?
You need to install a fax server. Which type of fax/modem should you install to insure Linux compatibility?
External Serial Fax/modem
Which of the following commands will print the inode usage on each mounted filesystem?
You wish to kill a process with a PID of 123. Select the command which will allow the process to "clean up" before exiting.
kill -15 123
Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?
You have an updated RPM called screensaver-1.1.i386. rpm. You have version 1.0 installed. Using RPM, how do you view the changelog of this file to see if you should install the update?
rpm -qp --changelog screensaver-1.1.i386. rpm
In order to append the output of ls to a file called bazz, which of the following command lines would you use?
ls >> bazz
How can you turn off the group quota in /pub?
quotaoff -gv /pub
How many SCSI ids for peripherals can SCSI-1 support?
Which of the following commands is equivalent to kill 1234?
kill -15 1234 or kill -s SIGTERM 1234
You have a USB storage device that you cannot get working. You have enabled all appropriate USB options in the latest 2.2 kernel but still cannot get your device working. What is most likely the source of the problem?
You are using the wrong kernel for this type of device
When installing XWindows the monitor wasn't recognised but now a data sheet with its specification is available. Which xorg.conf section must be edited to specify the correct values for several variables?
What TWO permissions must a user have in order to run a shell script?
Which option must be listed in /etc/fstab to activate user quotas automatically?
What command would help you identify the I/O address range being used by the network card?
All items are required to enable USB support on a Linux system EXCEPT.
A USB 2.0 compatible device
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Select TWO correct answers)
Welcher vom folgenden Aussagen ist wahr, wenn hart-verknüpfte Dateien vorhanden sind?
Beide Dateien werden sich denselben inode teilen
What single command (no options or arguments) can be used to fully extract a file called abc.tar.bz2?
What is the disadvantage of using the command kill -9 ?
The affected process is unable to clean up before exiting.
Which of the following is a limitation of the cut command?
The cut command cannot reorder fields.
What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?
cut -d: -fl,3 /etc/passwd
Which /etc/hosts.allow entries will permit access to sshd for users from the 192.168.1.0/24 subnet? (Choose TWO correct answers.)
sshd : 192.168.1.
sshd : 192.168.1.0/255.255.255.0
Which of the following programs is typically used to query installed debian packages? (Please select TWO that apply)
Which of the following commands will load a kernel module along with any required dependency modules?
In Bash, inserting "1>&2" after a command redirects
standard output to standard error
What should be done to ensure a client machine uses the recursive nameserver running on the IP address 192.168.0.1? (Choose TWO correct answers.)
Add nameserver 192.168.0.1 to /etc/resolv.conf.
Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file.
Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such file or directory." Which command will remove the directory?
Which command can be used to scan a specified network looking for IP addresses that appear to be in use?
What does the Filesystem Hierarchy Standard enable? (Select TWO answers)
Software to predict the location of installed files and directories
Users to predict the location of installed files and directories.
What does the character & when placed at the end of the command?
The process is sent to the background
What is the purpose of the bash built-in export command?
To setup environment variables for applications.
A server requires a GRUB2 boot option which will always boot to runlevel 1. Which line of a GRUB2 configuration file starts the beginning of the settings needed to make this new choice available?
Which of the following lines from /etc/X11/XF86Config indicates what fonts can be found on a font server?
Which file should be edited to select the network locations from which Debian installation package files are loaded?
Identify the proper device for the third partition on the only SCSI drive on the system.
Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?
rsync -a -e sshfyf/ [email protected]:/var/tmp/
What tool can you use to print shared library dependencies?
You need to know where all the configuration files for the installed package named "postfix" are located. Assuming it was installed with rpm, which command will list this information for you?
rpm -qc postfix
Which of the following command syntaxes can be used to find hard link files of the file named password.txt?
find . -samefile password.txt