Windows Command Line Flashcards
1
Q
print working directory
A
pwd
2
Q
my computer’s network name
A
hostname
3
Q
make directory
A
mkdir
4
Q
change directory
A
cd
5
Q
list directory
A
ls
6
Q
remove directory
A
rmdir
7
Q
push directory
A
pushd
8
Q
pop directory
A
popd
9
Q
copy a file or directory
A
cp
10
Q
robust copy
A
robocopy
11
Q
move a file or directory
A
mv
12
Q
page through a file
A
more
13
Q
pint the whole file
A
type
14
Q
run a command on lots of files
A
forfiles
15
Q
find files
A
dir -r
16
Q
find things inside files
A
select-string
17
Q
read a manual
A
help
18
Q
find what man page is appropriate
A
helpctr
19
Q
print some arguments
A
echo
20
Q
export/set a new environment variable
A
set
21
Q
exit the shell
A
exit
22
Q
DANGER! become a super user root DANGER!
A
runas