4.1 Introduction to Linux Flashcards
Over 70% of websites run some kind of version of __________.
Over 70% of websites run some kind of version of Unix
____________ are special-purpose variants of the operating system
Distrobutions are special-purpose variants of the operating system.
These command-line only machines are called _____________.
These command-line only machines are called headless servers.
Explain this file system:
/ (root)
The root directory that contains every other directory.
Explain this file system:
/home
Contains users’ private file. Users should not be able to save files elsewhere.
Explain this file system:
/etc
Contains configuration files, defining how a machine runs and who can use it.
Explain this file system:
/bin, /sbin
Contain applications such as web browsers and commands like ls.
Explain this file system:
/var
Contains files that change over time.
Explain this file system:
/tmp
Contains files that are only needed for a short period of time.
What will this command do?
cd /
The cd / command takes you back to the root directory of the current drive.
What are the two folders in root that you will use a lot as a cybersecuirty professional?
firewalld & auth.log
What’s the main diffrenc ebetween var and temp flders
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.
- AWK Operations:
(a)
(b)
(c)
(d)
- 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
__________ is the space used by a process to save and manipulate data.
Memory is the space used by a process to save and manipulate data.
The _____________ acts as the brain of the system, determining how much work a process has to do, and how difficult that work is.
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.