Linux Shell Flashcards

2
Q

pwd

A

print working directory

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

hostname

A

my computer’s network name

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

mkdir

A

make directory

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

cd

A

change directory

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

ls

A

list directory

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

rmdir

A

remove directory

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

pushd

A

push directory

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

popd

A

pop directory

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

cp

A

copy a file or directory

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

mv

A

move a file or directory

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

less

A

page through a file

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

cat

A

print the whole file

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

xargs

A

execute arguments

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

find

A

find files

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

grep

A

find things inside files

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

man

A

read a manual page

18
Q

apropos

A

find what man page is appropriate

19
Q

env

A

look at your environment

20
Q

echo

A

print some arguments

21
Q

export

A

export/set a new environment variable

22
Q

exit

A

exit the shell

23
Q

sudo

A

DANGER! become super user root DANGER!

24
Q

chmod

A

change permission modifiers

25
Q

chown

A

change ownership