Commands Flashcards

1
Q

pwd

A

print working director

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

hostname

A

My Computer Network Name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

mkdir

A

make directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cd

A

change directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ls

A

list directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

rmdir

A

remove directory (if empty)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

pushd

A

push directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

popd

A

pop directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

cp

A

copy a file / directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

mv

A

move a file / directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

less

A

page through a file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

cat

A

print the whole file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

xargs

A

execute arguments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

find

A

find files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

grep

A

find things inside files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

man

A

read a manual page

17
Q

apropos

A

find which manual 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

become super user root (DANGER!)

23
Q

rm -rf

A

remove directory with items

24
Q

mkdir -p

A

create path with more than 1 new directories

25
Q

touch

A

create new empty file

26
Q

less / q

A

quit viewing file / return to command line