Unix Terminal Commands Flashcards

1
Q

man

A

manual access for help

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

sudo

A

super user

switch user DO

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

finger

A

gives more, “pager” , page down

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

less

A

“pager”

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

append

A

append symbol

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

redirect

A

redirect symbol

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

who | wc-l

A

pipes the word count

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

cat

A

concatonation

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

touch

A

create file

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

ls

A

list

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

cp

A

copy

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

mkdir

A

make directory

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

mkdir -p

A

make parent directory

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

mkdir -m

A

make directory

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

rmdir

A

remove directory

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

rm

A

remove file

17
Q

mv

A

move file and change file name

mv [old name] [new name]

mv [old location] [new location]

18
Q

process ID

19
Q

parent child

A

parent child

20
Q

daemons

A

programs that run in the background

21
Q

forground

A

see it in the terminal

22
Q

ITA cmd

23
Q

chmod

A

user group other

UGO
r- read
x-execute
w-write

24
Q

& program

A

& indicates run in background

25
exit codes
0: std in 1: stdout 2: std error
26
in bash scripting there is no spaces
no space use
27
grep
global regular expression matches string
28
echo
print / display
29
dev/null
location of trash
30
&2
stderr
31
variables can hold any kind of data
in bash scripting
32
bash looks at path variables
list directories
33
if loop test
ends with fi