linux3 Flashcards

1
Q

drwx

A

D-directory
R-read is for privileges
W-write privileges
X-executables

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

ls -al

A

list all hidden attributes
L stands for long

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

echo

A

repeats input back to the user to the screen

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

etc

A

This specifies the path of the target directory/means your ina different directory

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

/var/log

A

It is used to store log files. Log files contain records of various system

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

touch command

A

it will modify or update the file if the file exist

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

cd /home/(username)

A

taking you back to the directory you have permissions too

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

cat command

A

stands for Concatenation

print display of the info we are trying to see within that file

text file

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

dmesg

A

This command prints all the messages from the kernel ring buffer to the standard output.

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

q

A

exit/quits out of everything out of everything

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

less command is used for

A

long files too look at

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

Vim command

A

lets you edit a file/textfile

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

The I command

A

Insert

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

esc key

A

exit outs of vim to save the file

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

How to save a file?

A

:wq

also takes you back to the command/home screen

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

nano

A

another way to edit a text/ text file command

17
Q

to save a nano script

A

ctrl O