basic commands Flashcards
1
Q
pwd
A
print working directory
2
Q
hostname
A
computer’s network name
3
Q
mkdir
A
new directory
4
Q
cd
A
change directory
5
Q
ls
A
list directory
6
Q
rmdir
A
remove directory
7
Q
pushd
A
pushdirectory
8
Q
popd
A
pop directory
9
Q
cp
A
copy file/directory
10
Q
mv
A
move file/directory
11
Q
less
A
page through a file
12
Q
cat
A
print a whole file
13
Q
xargs
A
execute arguments
14
Q
find
A
find files
15
Q
grep
A
find things inside files
16
Q
man
A
read manual page
17
Q
apropos
A
find which man page is relevant
18
Q
env
A
look at your environment
19
Q
echo
A
print some arguments
20
Q
export
A
export/set a new environment variable
21
Q
exit
A
exit the shell
22
Q
sudo
A
become superuser root