Operating Systems: Windows & Linux Commands

Test your knowledge of Windows OS features (Device Manager, Registry, System Restore) and Linux/Unix command-line operations (file management, process control, shell redirection)

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How do you get help about the command "cp"?

  1. help
  2. help cp
  3. man cp
  4. cp?
Question 2 Multiple Choice (Single Answer)

What do you use to forward errors to a file ?

  1. 1> filename
  2. 2> filename
  3. 2> /dev/null
  4. &> filename
Question 3 Multiple Choice (Single Answer)

What command do you have to use to go to the parent directory?

  1. cd /up
  2. cd ..
  3. cd ~
  4. cd -
Question 4 Multiple Choice (Single Answer)

How do you get all files with on the 3rd place an r, g or i?

  1. ls ?3[rgi]*
  2. ls [rgi]
  3. ls ??[rgi]*
  4. ls **[rgi]?
Question 5 Multiple Choice (Single Answer)

How can you append the output of a command to a file?

  1. command << file
  2. command > file
  3. command >> file
  4. command <> file
Question 6 Multiple Choice (Single Answer)

With what can you stop a process?

  1. kill
  2. delete
  3. shutdown
  4. stop
Question 7 Multiple Choice (Single Answer)

Which of the following commands displays the full pathname of the directory you are positioned in?

  1. cd
  2. cd ~
  3. pwd
  4. man pwd
Question 8 Multiple Choice (Single Answer)

How to create a new file without opening it?

  1. more filename
  2. less filename
  3. cat filename
  4. touch filename
Question 9 Multiple Choice (Single Answer)

which command can show one line summary of system status ?

  1. uptime
  2. pmon
  3. top
  4. df
Question 10 Multiple Choice (Single Answer)

Command to display lines that match a pattern ?

  1. find
  2. awk
  3. sed
  4. grep
Question 11 Multiple Choice (Single Answer)

command for prepare text for printing with headers and page breaks ?

  1. pr
  2. lpr
  3. pico
  4. file
Question 12 Multiple Choice (Single Answer)

Which of the following is not a linux/unix based OS

  1. UBUNTU
  2. FEDORA
  3. AMIGA
  4. DEBIAN
Question 13 Multiple Choice (Single Answer)

Which of the following is not a linux/unix based OS

  1. UBUNTU
  2. FEDORA
  3. AMIGA
  4. DEBIAN
Question 14 Multiple Choice (Single Answer)

Which Windows system was the first to incoporate the System Restore?

  1. ME
  2. 2000
  3. 98SE
  4. XP
Question 15 Multiple Choice (Single Answer)

Holding down [SHIFT] while inserting a CD does what?

  1. Ejects the CD Immediately
  2. Nothing
  3. Displays the CD Properties
  4. Turns off Auto Run
Question 16 Multiple Choice (Single Answer)

Pressing CTRL+ALT+DEL and then "K" on a Windows terminal does what?

  1. Warm boots the Terminal
  2. Shut downs the Terminal
  3. puts the Terminal in Standby
  4. Locks the Terminal
Question 17 Multiple Choice (Single Answer)

Which of the following should you NEVER do if your system has a virus?

  1. Defragment the local drive
  2. Run System backup
  3. shutdown the system
  4. Move the files from a CD to a DVD
Question 18 Multiple Choice (Single Answer)

What happens when you enter "cmd" into the "run" line (Windows XP)?

  1. you get an error
  2. opens a Command Prompt window
  3. Nothing
  4. looks for files with "CMD" name
Question 19 Multiple Choice (Single Answer)

What is the Registry used for?

  1. It stores information about all of the software and hardware on the system.
  2. It stores hardware information only
  3. It stores software information only
  4. It stores system information only
Question 20 Multiple Choice (Single Answer)

In Device Manager, what does it mean when a hardware has a yellow "!" beside its name?

  1. The device is disabled
  2. The hardware is not working/not recognized
  3. The device has not yet failed, but could
  4. The hardware is set at default settings