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)
Questions
How do you get help about the command "cp"?
- help
- help cp
- man cp
- cp?
What do you use to forward errors to a file ?
- 1> filename
- 2> filename
- 2> /dev/null
- &> filename
What command do you have to use to go to the parent directory?
- cd /up
- cd ..
- cd ~
- cd -
How do you get all files with on the 3rd place an r, g or i?
- ls ?3[rgi]*
- ls [rgi]
- ls ??[rgi]*
- ls **[rgi]?
How can you append the output of a command to a file?
- command << file
- command > file
- command >> file
- command <> file
With what can you stop a process?
- kill
- delete
- shutdown
- stop
Which of the following commands displays the full pathname of the directory you are positioned in?
- cd
- cd ~
- pwd
- man pwd
How to create a new file without opening it?
- more filename
- less filename
- cat filename
- touch filename
which command can show one line summary of system status ?
- uptime
- pmon
- top
- df
Command to display lines that match a pattern ?
- find
- awk
- sed
- grep
command for prepare text for printing with headers and page breaks ?
- pr
- lpr
- pico
- file
Which of the following is not a linux/unix based OS
- UBUNTU
- FEDORA
- AMIGA
- DEBIAN
Which of the following is not a linux/unix based OS
- UBUNTU
- FEDORA
- AMIGA
- DEBIAN
Which Windows system was the first to incoporate the System Restore?
- ME
- 2000
- 98SE
- XP
Holding down [SHIFT] while inserting a CD does what?
- Ejects the CD Immediately
- Nothing
- Displays the CD Properties
- Turns off Auto Run
Pressing CTRL+ALT+DEL and then "K" on a Windows terminal does what?
- Warm boots the Terminal
- Shut downs the Terminal
- puts the Terminal in Standby
- Locks the Terminal
Which of the following should you NEVER do if your system has a virus?
- Defragment the local drive
- Run System backup
- shutdown the system
- Move the files from a CD to a DVD
What happens when you enter "cmd" into the "run" line (Windows XP)?
- you get an error
- opens a Command Prompt window
- Nothing
- looks for files with "CMD" name
What is the Registry used for?
- It stores information about all of the software and hardware on the system.
- It stores hardware information only
- It stores software information only
- It stores system information only
In Device Manager, what does it mean when a hardware has a yellow "!" beside its name?
- The device is disabled
- The hardware is not working/not recognized
- The device has not yet failed, but could
- The hardware is set at default settings