Common Commands Flashcards
1
Q
pwd
A
print working directory
where you are
2
Q
cd
A
change directory
3
Q
mkdir
A
make directory
4
Q
rmdir
A
remove directory
5
Q
rm
A
remove entries for one or more files
6
Q
mv
A
rename a file or move it
7
Q
ls
A
list contents of directory
8
Q
ln
A
make hard or symbolic links
9
Q
vim
A
vim
10
Q
cat
A
concatenate and display files
11
Q
less
A
browse or page through a text file
12
Q
set
A
view user set variables
13
Q
printenv
A
print environmental variables
14
Q
wc
A
word count
lines words characters
15
Q
cp
A
make a copy