Linux Mastery Flashcards

1
Q

open terminal

A

crtl + alt + t

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

close terminal

A

crtl + d

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

list of previous commands

A

history

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

short cut for rerunning commands from history

A

!

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

!!

the above does what

A

runs most recent command

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

clear history all together

A

history -c; history -w

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

short form options are

long form options are

A

one dash

two dash

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

what can be chainged, long form or short form dashed

A

short form dashed

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

the 3 sections of a command

A

command options inputs

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

search a manual

A

man -k

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

in the manual page [ ] brackets indicate

A

optional

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

in the manual page < > angle brackets indicate

A

mandatory

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

the pipe | is

A

either or

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

[this]…

The three dots indicate?

A

multiple options

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

4 types of commands

A

standard input
standard output
standard error
standard Data streams

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

cat > output.txt

will do what?

A

add text to a file named output.txt

17
Q

cat > output.txt

will do what?

A

add text to a file without deleting text in output.txt

18
Q

standard output uses what number

A

1

19
Q

standard error uses what number

A

2

20
Q

standard input uses what number

A

0

21
Q

tty

A

tells where terminal is

22
Q

How would you redirect the standard output of the ls command to a file called output.txt

A

ls > output.txt

23
Q

-drwx

A
= file
d = directory
r = readable
w= writeable
x= execute
24
Q

files or directories that begin with dots are

A

hidden