03 Flashcards

1
Q

What does the prompt command do? And what are its options $p and $g

A

Creates a new command prompt
$p specifies the working directory
$g makes it so the > is the arrow instead, using them together which make the current working directory followed by > the command prompt

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

What is the dir command and it’s option \t \a: \s CAW

A

Lists files and subdirectories, \t gives you the time field of the directory and CAW
C when the directory was created
A when the directory was last accessed
W when the directory was last modifie
/a: gives you files/directories with specified attributes
/s displays all files and sub diretories

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

Attrib

A

Displays or changes files attributes

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

What option do you use to not prompt for date/time change when giving using the date command?

A

/t

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

What command do you use to check the version of windows?

A

ver

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

What is the | command used for?

A

passes the output of one command to the input iof another

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

How do you create a text file without using gui?

A

copy con

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

How do you display the contents of a file without using guiu?

A

type

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

What option in the find command ignores case when searching for a specified string?

A

\i

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

What command is used to delete directories and what’s used to delete files?

A

rmdir, del

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

What command recalls windows commands?
What do each of these options do? >&raquo_space;

A

doskey
> overwrites the file
» appends/adds to the end of a file

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

what command copys directories/trees and what oprion allows you to copy EVERYTHING

A

xcopy /e

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

What command modifies ACLS for directories and files, what are its options?

A

CACLS,
/e edits ACL instead of replacing it
/g grants specified user access (if used without /e overwrites ACL)
/p replaces specified user access

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