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.

A

prompt

19
Q

Displays a list of files and subdirectories.

A

dir

20
Q

Clears the screen.

A

cls

21
Q

Displays or sets the system date.

A

date

22
Q

Displays or sets the system time.

A

time

23
Q

Displays OS version.

A

ver

24
Q

Sets the title for the CLI window.

A

title (new window title)

25
Q

Quits the CLI window.

A

exit

26
Q

Creates a directory.

A

mkdir (dir1)(dir2)(dir3)
mkdir (dir1) (dir2)
mkdir (“directory name”)

27
Q

Removes a directory.

A

rmdir (directory name)

28
Q

Used to create a simple text file, but is not used to edit an existing file.

A

copy con (filename)

29
Q

Uses the MS-DOS Editor to create and edit text files.

A

edit or notepad for Vista and Windows 7

30
Q

Copies one or more files to another location.

A

copy (filename) (destination directory\new filename)

copy (filename) (dir2)

31
Q

Moves and renames files and directories.

A

move (filename) (destination directory\new filename)

move (filename) (new filename)

32
Q

Displays contents of a text file or files.

A

type

33
Q

Called “pipe,” passes output of one command as input to another.

A

( | ) (output_of_a_command) | (input_of_a_command)

34
Q

Renames a file or directory.

A

ren (source filename) (new filename)

35
Q

Searches for a text string in a text file or files.

A

find /n /I “string” (path/filename)

36
Q

Deletes one or more files.

A

del

37
Q

Copies directory trees and files.

A

xcopy (source) (destination) [options]

38
Q

Recalls Windows commands.

A

doskey

39
Q

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.

A

( > ) C:>(command) > (textfile)

40
Q

Appends standard output to the end of another file. If the file does not exist, it is created.

A

(&raquo_space; ) more (filename)&raquo_space; (newfile)