Commands Flashcards
0
Q
Print working directory
A
pwd
1
Q
Make directory
A
mkdir
2
Q
My computer’s network name
A
hostname
3
Q
Change directory
A
cd
4
Q
List directory
A
ls
5
Q
Remove directory
A
rmdir
6
Q
Push directory
A
pushd
7
Q
Pop directory
A
popd
8
Q
Copy a file or directory
A
cp
9
Q
Robust copy
A
robocopy
10
Q
Move a file or directory
A
mv
11
Q
Page through a file
A
more
12
Q
Print the whole file
A
type
13
Q
Run a command on lots of files
A
forfiles
14
Q
Find files
A
dir -r
15
Q
Find things inside files
A
select-string
16
Q
Read a manual page
A
help
17
Q
Find what main page is appropriate
A
helpctr
18
Q
Print some arguments
A
echo
19
Q
Export/set a new environment variable
A
set
20
Q
Exit the shell
A
exit
21
Q
Change permission modifiers
A
attrib
22
Q
Make new file or directory
A
New-Item
23
Q
Change ownership
A
iCACLS