Powershell (Windows) Flashcards
1
Q
pwd
A
print working directory
2
Q
hostname
A
my computer’s network name
3
Q
mkdir
A
make directory
4
Q
cd
A
change directory
5
Q
ls
A
list directory
6
Q
rmdir
A
remove directory
7
Q
pushd
A
push directory
(add directory to the stack)
don’t worry about stacks at the moment, come back to later
8
Q
popd
A
pop directory
(remove from stack)
don’t worry about stacks at the moment, come back to later
9
Q
cp
A
copy files or directory
10
Q
robocopy
A
robust copy
11
Q
mv
A
move file or directory
12
Q
more
A
page through a file
13
Q
type
A
print whole file
14
Q
forfiles
A
run command on multiple files
15
Q
dir -r
A
find files
16
Q
select-string
A
find things inside files
17
Q
help
A
read a manual page