Chapter 16 Review: Working with the Command Line Interface Flashcards
If you want to find out the syntax and switches used by a particular command, in Mac OS X or Linux, type the command ____ followed by the command you’re interested in.
man
To open the command line interface in Mac / Linux, type ______ to start the program
Terminal
The _____ prompts for a list of commands you may type
help
To obtain super user or root privileges in Mac/Linux, type _____ followed by the desired command
sudo
The windows dir command and the Mac/Linux _____ command shows the contents of the directory where the prompt is focused
ls
The proper way to write a command is called its _____
Syntax
In Windows, type command ____ to find out what syntax and switches that command uses
/?
What Windows key can be pressed to retrieve command history?
Up arrow
A _____ is a * or a ? that can be used in place of all or part of a filename
wildcard
Default text editor found in Mac and most Linux distros
vi
List the copy command steps:
- Point the prompt to the directory containing the file you want to copy
- Type copy (Windows) or cp (Mac/Linux) and hit space
- Type the name of the file to be copied followed by another space
- Type the full path of the new location for the file to be copied to
- Press enter
Windows and Linux both close the command prompt by typing _____
exit
What does robocopy enable you to do?
Copy files and folders from one computer to another across a network, fully replicating structure, and deleting anything that wasn’t part of the copy
How would you make a directory called DUCKS under the current working directory?
mkdir DUCKS
You can access the command prompt in Windows Vista / 7 by opening the start menu, typing ____ and pressing the enter key
cmd