Command Line Commands (Windows) Flashcards
Command Line list of commands for windows (21 cards)
1
Q
pwd
A
print working directory
2
Q
hostname
A
my computers network name
3
Q
mkdir
A
make directory
4
Q
cd
A
current directory
5
Q
ls
A
list directory
6
Q
rmdir
A
remove directory
7
Q
pushd
A
push directory
8
Q
popd
A
pop directory
9
Q
cp
A
copy a file or directory
10
Q
robocopy
A
robust copy
11
Q
mv
A
move a file or directory
12
Q
more
A
page through a file
13
Q
forfiles
A
run a command for lots of files
14
Q
type
A
print the whole file
15
Q
dir -r
A
find files
16
Q
select-string
A
finds things inside of files
17
Q
help
A
read a manual page
18
Q
echo
A
prints some arguments
19
Q
set
A
export/set a new environment variable
20
Q
exit
A
exit the shell
21
Q
runas
A
DANGER! become super root user Danger!
run programs as another user, often with administrator privileges.