Chapter 16 Review: Working with the Command Line Interface Flashcards

1
Q

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.

A

man

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

To open the command line interface in Mac / Linux, type ______ to start the program

A

Terminal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The _____ prompts for a list of commands you may type

A

help

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

To obtain super user or root privileges in Mac/Linux, type _____ followed by the desired command

A

sudo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The windows dir command and the Mac/Linux _____ command shows the contents of the directory where the prompt is focused

A

ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The proper way to write a command is called its _____

A

Syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In Windows, type command ____ to find out what syntax and switches that command uses

A

/?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What Windows key can be pressed to retrieve command history?

A

Up arrow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A _____ is a * or a ? that can be used in place of all or part of a filename

A

wildcard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Default text editor found in Mac and most Linux distros

A

vi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

List the copy command steps:

A
  1. Point the prompt to the directory containing the file you want to copy
  2. Type copy (Windows) or cp (Mac/Linux) and hit space
  3. Type the name of the file to be copied followed by another space
  4. Type the full path of the new location for the file to be copied to
  5. Press enter
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Windows and Linux both close the command prompt by typing _____

A

exit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does robocopy enable you to do?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How would you make a directory called DUCKS under the current working directory?

A

mkdir DUCKS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You can access the command prompt in Windows Vista / 7 by opening the start menu, typing ____ and pressing the enter key

A

cmd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The | symbol is called a

A

Pipe

17
Q

What is the one disallowed file name character in Mac/Linux?

A

/ (forward slash)

18
Q

Files are put into groups called folders, but many people refer to them as

A

Directories

19
Q

This wildcard will allow you to delete all files in a directory

A

.