Please enable JavaScript.
Coggle requires JavaScript to display documents.
Linux administration processing and security, List currently loaded…
Linux administration processing and security
Permissions
Types
Read
Execute
Write
Special permissions
Sticky
restrict file deletion
Suid
execute as user's owner
Sgid
execute as group's owner
Umask
default value
where
/etc/profile
/etc/bashrc
command
definition
clear bits of permissions
file / repository created
prefixed permissions
Categories
user
group
other
Commands
chgrp
group
chmod
structure
who
categories
which
type
what
operator
octal structure
advantage
3 digits
group
other
user
count
read
4
write
2
execute
1
chown
command -r
ownership
See the permissions
ls
File
ls -l
Repository
ls -ld
Others
ls -a
etc.
Control System Services
Start and stop services
Verify the status
systemctl start name
systemctl stop name
Restart and reload services
systemctl restart name.type
systemctl reload name.type
List Unit Depdendencies
systemctl list-dependencies name.type
Avoid missing dependencies
Mask and unmask dependencies
systemctl mask name.type
prevent conflict between services
systemctl unmask name.type
Enable Services at Boot
systemctl enable name.type
systemctl enable --now name.type
Daemons
systemD daemon
Definition
System and service manager
Enable
System ressources
Server daemons
Service
Assign to daemons
Using "service units"
Service units
Socket Units
Path units
systemctl list-units -type=service
Active
Sub
Load
Description
Unit
systemctl status name.type
Output
Status
Process
Loaded
Option with systemctl
is-enablec
is-failed
is-active
First process to start
Definition
Processes in the background
Denomination
End with letter "d"
Process
Body
Memory
Security
Threads
State
Environment
Variables
Context
Ressources
Parent
Child process
Execute
Parent
Zombie
Continue
Clear table
Request wait
States
Sleeping
Waiting
Stopped
Suspended
Running
Ready
Running
Zombie
For parent process
Commands
ps
top
dynamic view
refresh
current processes
kill
killalll
multiple
kill
unique
pkill
user processes
logout
Killing
Signals
Report executing program
Errors
External event
Signal command
Jobs
Processes
Foreground
processes
Listen
Controlling
Background processes
Can't listen
Other job controlling temrinal
Shell instance
Commands
Session
Controlling pannel
1 foreground process
X background process
Commands
jobs
fg
Load Average
Linux kernel
measurement
system load
period of time
List currently loaded service units
View service states
Verify status of service
Stop a service
Start a service
Restart a service
Reload a service
Enabled at the next reboot
Enabled from now
Sleeping
Fork
Exit