4.1 Introduction to Linux Flashcards

1
Q

Over 70% of websites run some kind of version of __________.

A

Over 70% of websites run some kind of version of Unix

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

____________ are special-purpose variants of the operating system

A

Distrobutions are special-purpose variants of the operating system.

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

These command-line only machines are called _____________.

A

These command-line only machines are called headless servers.

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

Explain this file system:

/ (root)

A

The root directory that contains every other directory.

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

Explain this file system:

/home

A

Contains users’ private file. Users should not be able to save files elsewhere.

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

Explain this file system:

/etc

A

Contains configuration files, defining how a machine runs and who can use it.

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

Explain this file system:

/bin, /sbin

A

Contain applications such as web browsers and commands like ls.

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

Explain this file system:

/var

A

Contains files that change over time.

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

Explain this file system:

/tmp

A

Contains files that are only needed for a short period of time.

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

What will this command do?

cd /

A

The cd / command takes you back to the root directory of the current drive.

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

What are the two folders in root that you will use a lot as a cybersecuirty professional?

A

firewalld & auth.log

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

What’s the main diffrenc ebetween var and temp flders

A

var stands for variables and contains log files that update frequently

temp is for temporary files. Contains files that are only needed for a short period of time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. AWK Operations:
    (a)
    (b)
    (c)
    (d)
A
  1. AWK Operations:
    (a) Scans a file line by line
    (b) Splits each input line into fields
    (c) Compares input line/fields to pattern
    (d) Performs action(s) on matched lines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

__________ is the space used by a process to save and manipulate data.

A

Memory is the space used by a process to save and manipulate data.

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

The _____________ acts as the brain of the system, determining how much work a process has to do, and how difficult that work is.

A

The Central Processing Unit (CPU) acts as the brain of the system, determining how much work a process has to do, and how difficult that work is.

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

Linux has several commands for managing processes?

A

top - See all running processes in real time.

ps - Snapshot of all the running processes

kill - Used to stop processes

17
Q

____________ is the process of running a potentially malicious script and monitoring its effects.

A

Dynamic analysis is the process of running a potentially malicious script and monitoring its effects.