Linux Quiz

Description: Linux Quiz
Number of Questions: 20
Created by:
Tags: linux
Attempted 0/20 Correct 0 Score 0
  1. Mount the main partition, edit the /etc/passwd file to remove the root password, reboot.

  2. Mount the root partition, edit the /etc/passwd file to remove the root password, reboot.

  3. Mount the main partition, edit the /tmp/passwd file to remove the root password, reboot

  4. Mount the root partition, edit the /etc/passwds file to remove the root password, reboot

  5. none of the above


Correct Option: B

The previous system administrator put useless messages at login, what file do you edit to change the system message?

  1. /etc/motd

  2. /etc/str

  3. /etc/strtms

  4. /etc/.conf


Correct Option: A
  1. /etc/hostname.conf

  2. /etc/dns.conf

  3. /etc/host.conf

  4. /etc/resolve.conf


Correct Option: C

What is "tin"?

  1. Terminal Interpreter

  2. The command to change the time

  3. The command to compare text files

  4. A newsreader


Correct Option: D

What is bash?

  1. Something you do to a watermelon

  2. A command to delete multiple files

  3. A network bit format

  4. A command shell


Correct Option: D
  1. /dev/lpt0

  2. /dev/lpt1

  3. /dev/lp0

  4. /dev/lp1

  5. DOSLPT1


Correct Option: C

What is the minimum memory requirements for XFree86?

  1. 640K

  2. 2MB

  3. 4MB

  4. 8MB

  5. 16MB


Correct Option: D
  1. The directory name contains illegal characters

  2. You are not logged in as root

  3. The hard disk is full

  4. The directory is not empty

  5. None are likely problems


Correct Option: D

From a command prompt, what does the command "ls" do?

  1. Lists the settings of the OS

  2. Lists the contents of the directory

  3. List command to list contents of files

  4. Finnish words, means to direct a file to a port

  5. None of the Above


Correct Option: B

Which command creates a file system?

  1. fdisk

  2. crfs

  3. mkfs

  4. fs


Correct Option: C

What is the default administrator username?

  1. administrator

  2. admin

  3. superuser

  4. root

  5. head


Correct Option: D

Which of the following are valid Linux wildcards? (Choose all that apply)

    • and ?
  1. /

  2. ?

  3. &

  4. Z


Correct Option: A

What does the command "ps" do?

  1. Prints the directory

  2. Shows what processes are running

  3. Print status of LPT1

  4. Produces system statistics

  5. None of the above


Correct Option: B

You are working in Linux when a program hits a flaw and stops running. Which command can be used to end the process?

  1. kill

  2. stop

  3. end

  4. wait

  5. CTL-ALT-DEL


Correct Option: A

A user is logged into the Linux workstation, what is the best way to login to root from a shell prompt?

  1. login root

  2. chuser root

  3. su

  4. root


Correct Option: C

Linux allows filenames up to what number of characters?

  1. 8

  2. 11

  3. 256

  4. 512

  5. Unlimited


Correct Option: C

T/F: The command "pwd" displays the directory

  1. True

  2. False


Correct Option: A

T/F: To move files, use the "move" command.

  1. True

  2. False


Correct Option: B
- Hide questions