Chapter 1 Flashcards

1
Q

pwd

A

print working directory

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

hostname

A

my computer’s 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

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 or directory

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

mv

A

move a file or 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 a 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

DANGER! become super user root danger DANGER!

23
Q

chmod

A

sets permissions to files

24
Q

chown

A

changes the owner and group id of path to the numeric uid and gid

25
Q

\

A

backslash ()

26
Q

\ ‘

A

single-quote (‘)

27
Q

\ “

A

double-quote (“)

28
Q

\a

A

ASCII bell (BEL)

29
Q

\b

A

ASCII backspace (BS)

30
Q

\f

A

ASCII formfeed (FF)

31
Q

\n

A

ASCII linefeed (LF)

32
Q

\N{name}

A

Character named name in the Unicode database (Unicode only)

33
Q

\r

A

Carriage Return (CR)

34
Q

\t

A

Horizontal Tab (TAB)

35
Q

\uxxxx

A

Character with 16-bit hex value xxxx

36
Q

\Uxxxxxxx

A

Character with 32-bit hex value xxxxxxxx

37
Q

\v

A

ASCII vertical tab (VT)

38
Q

\000

A

Character with octal value 000

39
Q

\xhh

A

Character with hex value hh