Day 2 MOD 5 Flashcards

(47 cards)

1
Q

this is 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 used 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

Three basic parts of syntax
C
O
A

A

Command
Options
Arguments

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

Feature built into windows that lists many built-in commands and may also be used to display detailed information for each.

/? Used at the end of a command

A

Help

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

Indicates a separation between the command and its Associated arguments. Other common forms of this are.
/
-
;

A

Delimiter

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

These are used to identify optional arguments in Windows.

A

[ ] brackets

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

This character may be used in two ways; to pass the output of the first command to the second command as input and to represent “or” for example [ +R | -R ] indicates +R “or” -R can be used.

A

( | ) pipe

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

Wildcard characters, like this symbol may also 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

This is used to display output one screen at a time.

A

More

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

This identifies the current location in the system’s directory structure, known as the working directory or present working directory.

A

Prompt

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

This is the current location in the systems directory.

A

Working directory

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

analyst must be able to navigate through a file system using these to either move from one location to another or identify a particular location of a file or directory.

A

Paths

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

Starts at the volume root and specifies each directory that must be open 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
14
Q

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

A

Relative path

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

Changing working directories within the CLI, is accomplished using the ______ command.

A

cd

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

Displays the name of or changes current directory.

A

cd

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

What does this command do?

c:\cd /d f:

A

Change current drive from c to f

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

What does this command do?

C:>cd

A

Displays current working directory

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

What does this command do?

C:\dir1\dir2>cd\

A

Changes the root directory to C:\

20
Q

What does this command do?

C:\dir1\dir2>cd..

A

Changes to Parent Directory C:\dir1

21
Q

What does this command do?

C:>path

A

Displays the path statement

22
Q

What does this command do?

C:>path=%path%;c:\Tools

A

Adds C:\Tools directory to the path statement

23
Q

Instead of typing out the entire path statement this variable can be used to represent the current path.

24
Q

Specifies a command prompt

25
What does this command do? | Prompt
Specifies text for command prompt
26
What does this command do? | $P
Specifies current working directory for command prompt
27
What does this command do? | $G
Specifies '>' for command prompt
28
What does this command do? | dir
Displays a list of files and subcategories
29
What do these command do? dir/t: dir/a: dir/s:
Controls which time field to display Displays files with a specified attribute Displays files and directories and all subcategories.
30
What does this command do? | C:\>cls
Clears the screen
31
What do these command do? C:\>date C:\>date /t
Prompts for date change | Displays date without prompting for change
32
What do these command do? C:\>time C:\>time /t
Prompts for new time change | Displays time without prompting for change
33
What does this command do? | C:\ver
Displays os version
34
What does this command do? | C:\>title my window
Title of the CLI window is renamed to my window
35
What does this command do? | C:\>exit
Closes the CLI window
36
What do these commands do? C:\>mkdir example\folder C:\>mkdir example folder C:\>mkdir "example folder"
mkdir command, creates a directory. Creates a folder directory nested in example directory. Create separate directories in current directory. Creates a single directory named example folder.
37
What do these commands do? C:\>rmdir example C:\>rmdir example \s
rmdir command, removes a directory. Removes example directory, if empty. Removes example directory and all contents.
38
What does this command do? C:\dir1>copy con example.txt This an example message. Cntrl z enter
Copy control command, creates a simple text file and saves it in the directory you specify.
39
What do these commands do? C:\>edit example.txt Note: not available on 64 bit systems C:\>notepad example.txt. Note: same functions as above but is for use on 64 bit systems
Edit/notepad command, uses editor to create and edit text files Creates and opens a text file in Ms dos editor to edit file contents. Creates and opens a text file in notepad for editing.
40
What do these commands do? C:\>copy example.txt C:\dir1\file2.txt C:\>copy example1.txt+example2.txt c:\dir1
Copies example1.txt to c:\dir1 and renames it to file2.txt Combines example1.txt and example2.txt as example1.txt in c:\dir1 Copy- copies one or more files to another location.
41
What do these commands do? C:\>move example.txt c:\dir1\new.txt C:\>move example.txt new.txt
This is the move command, it moves and renames files and directories. Copies example.txt to c:\dir1 renaming it to new.txt Renames example.txt to new.txt
42
What do these commands do? C:\>type example.txt C:\>type example.txt | more
This is the type command, it displays the contents of a text file or files. Displays contents of example.txt Displays contents or example.txt one page at a time
43
What do these commands do? C:\>ren example.txt new.txt C:\>ren dir1 new1
Rename command, renames a file or directory. Renames example.txt to new.txt Renames directory dir1 to new1
44
What does this command do? C:\>find /n /I "fox" example.txt Notes: /n displays line numbers of lines containing specified text string. /I ignores case when searching for specified string
Find command, searches for a text string in a text file or files. The syntax example displays line number and line containing the text Fox ignoring case sensitivity.
45
What do these commands do? C:\>del example.txt example2.txt C:\>del *.txt
Del command, deletes one or more files. Deletes example.txt and example2 .text Deletes all files with .text extension
46
What do these commands do? C:\>xcopy /e dir1 f:\ C:\>xcopy /e dir1 f:\dir1
Xcopy command, copies directory trees and files. Copies contents or dir1, files and subdirectories, to F:\ Note: does not recreate dir1 directory in F:\, so contents or source dir1are in the root of F:\ Copies contents of dir1 files and subdirectories to F:\
47
What do these commands do? C:\>doskey C:\>doskey / history
Doskey command, recalls windows commands Displays windows commands entered Displays all previously entered commands