We have sent an email with your new password.


Linux Commands Multiple Choice

53 Questions  I  By Mariiikar
Linux Commands Multiple Choice
Linux commands multiple choice quiz for anyone who is in college studying Linux, systems administration or other computer courses and want to test themselves on multiple choice questions for exams.

  
Changes are done, please start the quiz.


Question Excerpt

Removing question excerpt is a premium feature

Upgrade and get a lot more done!
1.  What does the permission string nvxr-xr-- correspond with in octal?
A.
B.
C.
D.
2.  How would you avoid accidentally removing files?
A.
B.
C.
D.
3.  How do you see if two files are hard linked to each other?
A.
B.
C.
D.
4.  How do you direct the shell to execute a command in the background?
A.
B.
C.
D.
5.  Which of the following cannot be used as a mount option in /etc/fstab?
A.
B.
C.
D.
6.  How would you display running httpd processes?
A.
B.
C.
D.
7.  How do you run a job that will continue running even if you are logged out?
A.
B.
C.
D.
8.  How would you turn on the sticky bit on the directory /tmp?
A.
B.
C.
D.
9.  How would you switch to virtual terminal 1?
A.
B.
C.
D.
10.  What symbol is used to show that ACLs have been set on a file?
A.
B.
C.
D.
11.  What is the following syntax used for? command >file1 2>file2
A.
B.
C.
D.
12.  How would you remove a directory that is not empty?
A.
B.
C.
D.
13.  In which directory are the crontab files for users stored on suse linux?
A.
B.
C.
D.
14.  How do you display your current crontab entry?
A.
B.
C.
D.
15.  What keyboard combination can be used to exit the shell?
A.
B.
C.
D.
16.  Which of the following can be used to set the immutable attribute on a file?
A.
B.
C.
D.
17.  How do you display the kernel release?
A.
B.
C.
D.
18.  The following can be used to set the immutable attribute on a file?
A.
B.
C.
D.
19.  Which file determines what will be run at each runlevel?
A.
B.
C.
D.
20.  Which runlevel allows full multiuser mode but with no graphical login manager?
A.
B.
C.
D.
21.  Which command is used to unmount a filesystem?
A.
B.
C.
D.
22.  Suppose you are in your home directory, /home/raf as in diagram above. What is the relative path for the file called "save" in the Email subdirectory?
A.
B.
C.
D.
23.  How do you delete your crontab entry?
A.
B.
C.
D.
24.  How do you find out information about your identity, including the names of the groups you are in?
A.
B.
C.
D.
25.  To run date first, and then ls -l, which of the following is correct?
A.
B.
C.
D.
26.  What is the shortest command to take you to your home directory?
A.
B.
C.
D.
27.  How do you copy an entire directory structure? E.g. from Project to Project.backup
A.
B.
C.
D.
28.  How would you lock the user account named csm099?
A.
B.
C.
D.
29.  Which command displays the settings for all services at all runlevels?
A.
B.
C.
D.
30.  To display information about the processor itself - display the contents of which file?
A.
B.
C.
D.
31.  How do you see hidden files in your home directory?
A.
B.
C.
D.
32.  Which file is the list of commands you recently entered stored in?
A.
B.
C.
D.
33.  How would you sort a file called shopping on column 3?
A.
B.
C.
D.
34.  How would you find out what your current login shell is?
A.
B.
C.
D.
35.  What is the purpose of the following operator? >>
A.
B.
C.
D.
36.  Which of the following could you use to check if the cron daemon is running?
A.
B.
C.
D.
37.  How would you list oldest files first and newest ones last?
A.
B.
C.
D.
38.  How would you continuously display memory usage every 5 seconds?
A.
B.
C.
D.
39.  What does the 2>&1 at the end of the following command mean?find / -name fred.txt > names 2>&1
A.
B.
C.
D.
40.  You want to display a message when you open a new terminal window. Which file do you edit?
A.
B.
C.
D.
41.  During the linux boot process, what happens immediately after the phase called "load kernel"?
A.
B.
C.
D.
42.  Which of the following runs the last command you entered?
A.
B.
C.
D.
43.  Which file is the list of commands you recently entered stored in?
A.
B.
C.
D.
44.  Some commands, including cat, interpret a minus sign (-) as a shortcut for...
A.
B.
C.
D.
45.  How do you create a crontab entry?
A.
B.
C.
D.
46.  What is the full path for grub's configuration file
A.
B.
C.
D.
47.  How would you show process hierarchy in forest format?
A.
B.
C.
D.
48.  What is the following syntax used forcommand 2> /dev/null
A.
B.
C.
D.
49.  Which runlevel allows full multiuser mode but with no graphical login manager?
A.
B.
C.
D.
50.  How would you search for the string clothes at the end of the line in a file called shopping?
A.
B.
C.
D.
51.  How do you create a crontab entry?
A.
B.
C.
D.
52.  Which signal number corresponds with the SIGSTOP signal?
A.
B.
C.
D.
53.  Which command can be used to edit and then run command no. 40?
A.
B.
C.
D.
Back to top

Removing ad is a premium feature

Upgrade and get a lot more done!
Take Another Quiz