system_admin_flashcards

(49 cards)

1
Q

Linux Basics :: Linux is an open-source operating system kernel that

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

powers many distributions. Distribution (Distro) :: A packaged version

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

of Linux that includes the kernel

A

tools

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

Fedora

A

Debian). Kernel :: The core of the OS

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

resources and system calls. Shell :: A command interpreter that lets

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

users interact with the OS (bash

A

zsh). Command Line Interface (CLI) ::

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

Text-based way to execute commands directly. Man Pages :: Built-in Linux

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

manual accessed with man <command></command>. Absolute Path :: Full file path

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

starting from root /. Relative Path :: File path relative to the current

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

working directory. File Permissions :: Define who can read (r)

A

write

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

(w)

A

and execute (x) a file. Permission Groups :: User (u)

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

Others (o). Changing Permissions :: Use chmod to change permissions.

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

Example: chmod 755 file.sh. Changing Ownership :: Use chown to change

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

file owner and group. Hidden Files :: Files starting with .; view with

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

ls -a. Superuser (root) :: Administrative account with full system

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

privileges. Sudo :: Command to execute tasks with root privileges.

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

Create File :: touch filename Create Directory :: mkdir dirname List

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

Files :: ls (options: -l

A

-a

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

Move/Rename File :: mv source destination Remove File :: rm filename

21
Q

Remove Directory :: rmdir dirname or rm -r dirname View File Content ::

22
Q

cat

24
Q

View Running Processes :: ps

25
kill -9 PID Background Process :: Run command with & at the end.
26
Foreground Process :: Bring background job with fg.
27
28
User Account :: A record that defines a person’s access to the system.
29
Add User :: sudo adduser username Delete User :: sudo deluser username
30
Switch User :: su - username Group Account :: A collection of users
31
sharing permissions. Add Group :: sudo groupadd groupname Add User to
32
Group :: sudo usermod -aG groupname username Delete Group ::
33
sudo groupdel groupname Check Groups of User :: groups username
34
35
Numeric Permission Values :: r=4
w=2
36
(e.g.
755). Check Permissions :: ls -l shows permissions. Set User
37
Ownership :: sudo chown user file Set Group Ownership ::
38
sudo chgrp group file
39
40
Check IP Address :: ip addr or ifconfig Ping Test :: ping hostname Check
41
Ports :: netstat -tuln or ss -tuln SSH Connection :: ssh user@hostname
42
Copy Over SSH :: scp file user@host:/path Firewall Management ::
43
ufw enable
ufw allow 22
44
45
Check Disk Usage :: df -h Check Memory Usage :: free -h Check System
46
Logs :: journalctl
/var/log/ files System Update ::
47
sudo apt update && sudo apt upgrade Package Install (Debian) ::
48
sudo apt install package Package Install (Red Hat) ::
49
sudo yum install package