Linux System Administration Commands

Test your knowledge of Linux commands for user management, file operations, security, and system administration.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What does it
mean for a program to run in the background?

  1. A
    program is running but not visible to the user.
  2. A
    program is running just minimized.
  3. program is running behind an already max running program
  4. The
    program is not running at all.
Question 2 Multiple Choice (Single Answer)

The command cd
does what in Linux?

  1. Moves
    a folder
  2. Changes
    name of directory you are working in.
  3. Changes
    current directory you are working in.
  4. Deletes
    the
    current directory you are working in.
Question 3 Multiple Choice (Single Answer)

What is the
command to check the firewall status?

  1. Sudo
    firewall status
  2. Sudo
    firewall enable/disable
  3. Sudo ufw status
  4. Sudo ufw
    enable
Question 4 Multiple Choice (Single Answer)

What is the command to change password policies in Linux?

  1. Sudo change username
  2. sudo chage username
  3. Sudo chage –l username
  4. Sudo change –l username
Question 5 Multiple Choice (Single Answer)

What is the Linux command for adding a new user, username?

  1. Sudo addusr
    username
  2. Sudo aduser
    username
  3. Sudo
    apt-get adduser
    username
  4. a)Sudo adduser
    username
Question 6 Multiple Choice (Single Answer)

In linux what is the default status of the firewall?

  1. Enable
  2. Disable
  3. N/A
  4. Waiting
Question 7 Multiple Choice (Single Answer)

The guest account should have passwords?

  1. True
  2. False
Question 8 Multiple Choice (Single Answer)

All users should have Passwords

  1. True
  2. False
Question 9 Multiple Choice (Single Answer)

Which Linux command does not update Graphical interface?

  1. sudo apt-get install gnome-session-fallback
  2. sudo apt-get install firestarter
  3. sudo apt-get interface
  4. sudo apt-get install ubutu desktop
Question 10 Multiple Choice (Single Answer)

What should the minimum password age be?

  1. 5days
  2. <5 days
  3. 1day
  4. 10day
Question 11 Multiple Choice (Single Answer)

Command to install Clamav Antivirus in linux

  1. sudo apt-get install clamav
  2. sudo nano install clamav
  3. install clamav
  4. sudo apt-get clamav
Question 12 Multiple Choice (Single Answer)

linux command to enable firewall in linix

  1. sudo ufw enable
  2. sudo ufw starter
  3. ufw enable
  4. sudo enable ufw
Question 13 Multiple Choice (Single Answer)

command to list all of the files in a directory

  1. pwd
  2. ls
  3. ls -a
  4. ls -all
Question 14 Multiple Choice (Single Answer)

File names that begin with a ______ character are hidden.

  1. #
  2. .
  3. $
  4. |
Question 15 Multiple Choice (Single Answer)

command to print the name of the working directory

  1. print wd
  2. pwd
  3. pwd -p
  4. pwd -d
Question 16 Multiple Choice (Single Answer)

command that lists all of the directories from the directory you are in.

  1. ls
  2. ls -a
  3. ls |a
  4. list
Question 17 Multiple Choice (Single Answer)

Create directories tacos1 and tacos2 inside the tacohouse directory

  1. mkdir tacohouse/tacos1 tacos2
  2. cd tacohouse
  3. mkdir tacohouse
  4. mkdir tacos 1 tacos 2
Question 18 Multiple Choice (Single Answer)

command used to copy files and directories

  1. cp
  2. (cp = copy)
Question 19 Multiple Choice (Single Answer)

The __ command is used to remove (delete files & directories

  1. rm
  2. remove
  3. rm -del
  4. rm -dir