5.2 Flashcards

1
Q

Defined as the grammatical rules and patterns governing the ordered use of appropriate words and symbols for issuing commands.

A

Syntax

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

Parameters to specify command features and options.

A

Arguments

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

Which command displays the most commonly used built-in commands along with a brief functionality description?

A

help

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

To get detailed information for a specific command, at the command prompt enter:

A

help (name of command)

C:\ (name of command) /?

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

Indicate a separation between the command and its associated arguments. What are common delimiters?

A

( ) spaces, (/) forward slash, (-) hyphen, (;) semi-colon

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

Used to identify optional arguments

A

[ ] brackets

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

May be used in two ways; to pass the output of the first command to the second command as input and to represent “or”

A

( | ) Pipe character; Example of “or” [+R | -R] +R or -R can be used

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

May be used to denote anything and everything within a specific argument.

A

( * ) Asterisk

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

The current location in the system’s directory structure.

A

Working directory

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

What must an analyst use to either move from one location to another or identify a particular location of a file or directory?

A

Path

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

What are the two types of paths?

A

Absolute and Relative Path

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

Starts at the volume:root and specifies each directory that must be opened to get to the desired file or directory.

A

Absolute path

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

Gives the location of the target file or directory from the present working directory.

A

Relative Path

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

What symbol does a user use to go up the directory tree?

A

( .. ) dot dot

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

Displays the name of or changes current directory.

A

cd, chdir (dir1)(dir2)

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

Configured to allow commands and other programs to execute from any working directory

A

Environment variable path

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

Command to view or change path statements

A

Path;
Examples: C:>path
C:>path=%path%;C:\tools

18
Q

Specifies a new command prompt.

19
Q

Displays a list of files and subdirectories.

20
Q

Clears the screen.

21
Q

Displays or sets the system date.

22
Q

Displays or sets the system time.

23
Q

Displays OS version.

24
Q

Sets the title for the CLI window.

A

title (new window title)

25
Quits the CLI window.
exit
26
Creates a directory.
mkdir (dir1)\(dir2)\(dir3) mkdir (dir1) (dir2) mkdir ("directory name")
27
Removes a directory.
rmdir (directory name)
28
Used to create a simple text file, but is not used to edit an existing file.
copy con (filename)
29
Uses the MS-DOS Editor to create and edit text files.
edit or notepad for Vista and Windows 7
30
Copies one or more files to another location.
copy (filename) (destination directory\new filename) | copy (filename) (dir2)
31
Moves and renames files and directories.
move (filename) (destination directory\new filename) | move (filename) (new filename)
32
Displays contents of a text file or files.
type
33
Called "pipe," passes output of one command as input to another.
( | ) (output_of_a_command) | (input_of_a_command)
34
Renames a file or directory.
ren (source filename) (new filename)
35
Searches for a text string in a text file or files.
find /n /I "string" (path/filename)
36
Deletes one or more files.
del
37
Copies directory trees and files.
xcopy (source) (destination) [options]
38
Recalls Windows commands.
doskey
39
Redirects standard command output to a file instead of displaying results on the screen. If the file does not exist, it is created. If the file does exist, it is overwritten.
( > ) C:\>(command) > (textfile)
40
Appends standard output to the end of another file. If the file does not exist, it is created.
( >> ) more (filename) >> (newfile)