Select all commands that you can use to shutdown a running Linux server, assuming that you have sufficient privileges.

 
 
 
 

Which command, without any options, can you use to check the amount of free diskspace?

Select the command that you can use to check the exit code of the previously entered command

 
 
 
 

What happens with options specified in the grub configuration file that are passed to the kernel but have no meaning to the kernel?

 
 
 
 

Select all commands that you can use to create an empty file with the name LPI in the current directory.

 
 
 
 

An user enters the following command on the command line:

mkdir My Documents

What will happen?

 
 
 
 

Which commands operate on kernel modules? Check all that apply.

 
 
 
 
 
 

Observe the following output first, then answer the question

[user@host ~]$ ls -l
total 4
drwxrwxrwx. 2 user user 4096 Feb 15 10:43 shared

Which command can the user type to prevent all other users (except root) from deleting files from the directory shared that they do not own?

 
 
 
 

How can a process check if the execution of a child process completed without an error?

 
 
 
 

Type the command, without any options, that the user can use to change his default login shell.

Observer the following console output  and then answer the question:

[user@host ~]# ls -l
total 4
drwxr-x---. 2 root root 4096 Feb 14 16:56 Documents

What is the value of the umask that the user has set? Enter the value in octal notation.

True or false?

The kill command will always attempt to get a process to exit.

 
 

What is the name of the process that will detect hot plug event on the USB bus?

 
 
 
 

Observer the following output and then answer the question:

[user@host ~]# ls
Proposal.doc  Proposal.xls
[user@host ~]# cat test > cat.out
cat: test: No such file or directory

Which files will this user see if he enters the ls command, without any options, again?

 
 
 
 

True or false?

Quota are by default enabled on a Linux filesystem such as ext4?

 
 

Which of the following commands accurately report the number of processes on the system?

 
 
 
 

Type the name of the file that contains a list of filesystems that should be mounted automatically at boot time.

Provide the absolute path name.

Observe the following output and then answer the question.

[user@host demo]$ ls -li
total 0
406 -rw-rw-r--. 4 user user 0 Feb 14 18:43 file-1
407 -rw-rw-r--. 3 user user 0 Feb 14 18:43 file-2
406 -rw-rw-r--. 4 user user 0 Feb 14 18:43 file-3
406 -rw-rw-r--. 4 user user 0 Feb 14 18:43 file-4
407 -rw-rw-r--. 3 user user 0 Feb 14 18:43 file-5
406 -rw-rw-r--. 4 user user 0 Feb 14 18:43 file-6
407 -rw-rw-r--. 3 user user 0 Feb 14 18:43 file-7

Which files are linked with file-1? Select all that apply.

 
 
 
 
 
 

Look at the following output, then answer the question.

[user@host ~]# ls -ld /tmp
drwxrwxrwt. 63 root root 36864 Feb 14 22:55 /tmp

What is the octal notation of the permission bits of the directory /tmp?

Which character at the end of a command line will cause the command to run in the back ground?

 
 
 
 

Which file contain options for kernel modules that will be applied when a kernel module is loaded?

 
 
 
 

Look at the following output, then answer the question.

[user@host demo]$ id
uid=500(user) gid=500(user) groups=500(user)
[user@host demo]$ ls -l
total 0
-r--rw----. 1 user user 0 Feb 14 22:59 questions.txt

Which operations can the user perform on this file? Select all that apply.

 
 
 
 

Select all commands that you use to show the absolute pathname of your current working directory.

 
 
 
 

What is the purpose of a journal in respect to filesystems?

 
 
 
 

Type the command that allows you to switch runlevels without any options.


Question 1 of 25

Disclaimer: All information posted is written with the upmost care and valid at the time of writing. Changes in versions can supersede the provided information. Please use your own judgement.