Linux Fundamentals (THM).2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is SSH?

A

Secure Shell

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

What does SSH allow us to do?

A

Execute commands on another device remotely

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

What happends to sent commands using SSH?

A

Encryption

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

create file

A

touch

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

create a folder

A

mkdir

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

copy file or folder

A

cp

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

move file or folder

A

mv

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

remove file or folder

A

rm

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

determine file type

A

file

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

particularities to remember for rm?

A

simply rm for a file
rm -R for a directory

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

particularities for cp?

A

takes 2 arguments
must input first the name of target file/folder and then new name for copy file/folder

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

particularities of mv?

A

takes 2 arguments
you can create new folders completely like in cp or replace the contents of the second argument with the first

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

list the permissions of all files in the directory

A

ls -lh

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

switching between users

A

su

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

important root directory for storing system files used by OS

A

/etc

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

important root directory for storing data that is frquently accessed and written by other services of apps

A

/var