Shell (Windows) Flashcards
Learning common shell commands
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 (c.f. less)
13
Q
type (cat)
A
print the whole file (c.f. cat)
14
Q
forfiles
A
run a command on lots of files
15
Q
dir -r
A
find files (c.f. find)