linux6 Flashcards

1
Q

cd Grep

A

shows the documentation for grep within the directory

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

Which of the following is NOT a commonly used shell in Linux?

A

Darwin

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

what does rm -rf/.?

A

delete every single file on your hard drive

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

cd ~

A

home/local user to main directory

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

Service

A

accts that are specific to the service(HTTP for web and mySQL for database

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

Always log into a system with a what?

A

non-privlieged user acct

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

visudo

A

verifies/etc/sudoers syntac before committing changes

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

-c

A

check file errors

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

-f

A

edit/check location

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

-s

A

check file in strict mode

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

-x

A

output in JSON

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

Wheel group

A

exercise root privileges with less potential for damaging the system

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

PolKit/pkexec

A

controls system-wide privileges that allows non-privileged processes to communicate with privileged ones

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

git branch -a

A

showing the different branches within that file/folder/directory

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

git checkout

A

used to switch branches or restore working tree files

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

git checkout -b

A

creates a new branch within the master/folder