Windows cmd/powershell Basic Commands Flashcards
Nuts and bolts of powershell
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
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
type
A
Print the whole file
14
Q
forfiles
A
Run a command on lots of 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