terminal Flashcards
(22 cards)
1
Q
print working directory
A
pwd
2
Q
hostname
my computer’s network name
A
hostname
3
Q
make directory
A
mkdir
4
Q
change directory
A
cd
5
Q
list directory
A
ls
6
Q
remove directory
A
rmdir
7
Q
pushd
A
push directory
8
Q
popd
A
pop directory
9
Q
cp
A
copy a file or directory
10
Q
mv
A
move a file or directory
11
Q
less
A
page through a file
12
Q
cat
A
print the 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 a manual page
17
Q
apropos
A
find what man page is appropriate
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
DANGER! become super user root DANGER!