Linux Fundamentals (THM).3 Flashcards

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

executable that runs a basic text editor

A

nano

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

executable that runs an advanced text editor

A

vim

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

how do you download files via http using the CL?

A

wget ‘url’

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

What is SCP?

A

Secure Copy

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

What command allows you to copy file and directories and send them to a remote system and vice versa using the Shell?

A

SCP
(SSH+CP)

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

What is the format of SCP?

A

Source Destination

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

What are the values that you need for SCP/SSH (local to remote)?

A

IP Address/User on remote system/name of the file on local system/name that we wish to store file as

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

example of SCP/SSH (local to remote)

A

scp important.txt ubuntu@10.10.10.10:/home/ubuntu/transferred.txt

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

What do Ubuntu machines come pre-packaged with that turn you computer into an easily accessible web server?

A

HTTPServer (python3)

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

How do you access another computer’s HTTPServer?

A

curl and wget

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

How do you run the HTTPServer on your Ubuntu?

A

python3 -m http.server

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

What is PID?

A

Process ID

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

How do you interact with systemd?

A

systemctl

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

what are the 4 options of systemctl?

A

start
stop
enable
disable

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

What are 2 ways to background a process?

A

&
ctrl + z

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

foregound a process

A

fg

17
Q

all ways to kill processes

A

kill
sigterm
sigkill
sigstop

18
Q

relaunching a process does what to PID?

A

+1

19
Q

run a process on next startup?

A

systemctl enable myservice

20
Q

command for scheduling process after startup?

A

cron

21
Q

process that is started on startup

A

crontabs

22
Q

crontab?

A

special file with formatting used by cron process and executed step by step

23
Q

6 crontab values

A

MIN
HOUR
DOM
MON
DOW
CMD

24
Q

adding repository command

A

add-apt-repository

25
Q

command for installing software

A

apt

26
Q

What is the difference between a directory and a repository?

A

Static vs Workshop

27
Q

command for adding repositories

A

add-apt-repository

28
Q

What guarantees integrity when downloading repositories?

A

Gnu Privacy Guards (GPG)

29
Q
A