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

A

PID

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

A

command

23
Q

chmod

A

user group other

UGO
r- read
x-execute
w-write

24
Q

& program

A

& indicates run in background

25
Q

exit codes

A

0: std in
1: stdout
2: std error

26
Q

in bash scripting there is no spaces

A

no space use

27
Q

grep

A

global regular expression

matches string

28
Q

echo

A

print / display

29
Q

dev/null

A

location of trash

30
Q

&2

A

stderr

31
Q

variables can hold any kind of data

A

in bash scripting

32
Q

bash looks at path variables

A

list directories

33
Q

if loop test

A

ends with fi