Rocky Linux

π These are Linux commands notes taken from the Rocky Linux docs, maybe I'll move them to a more Linux general section later.
π Resources π
Treat everything as a file.
Value portability.
Do one thing and do it well.
KISS: Keep It Simple Stupid.
"UNIX is a simple operating system, but you have to be a genius to understand the simplicity." (Dennis Ritchie)
"Unix is user-friendly. It just isn't promiscuous about which users it's friendly with." (Steven King)
Commands
User management
File system
/
Contains special directories
/boot
Files related to system startup
/sbin
Commands necessary for system startup and repair
system binaries
/bin
Executables of basic system commands
binaries
/usr/bin
System administration commands
/lib
Shared libraries and kernel modules
libraries
/usr
Saves data resources related to UNIX
UNIX System Resources
/mnt
Temporary mount point directory
mount
/media
For mounting removable media
/misc
To mount the shared directory of the NFS service.
/root
Administrator's login directory
/home
The upper-level directory of a common user's home directory
/tmp
The directory containing temporary files
temporary
/dev
Special device files
device
/etc
Configuration and script files
editable text configuration
/opt
Specific to installed applications
optional
/proc
This is a mount point for the proc filesystem, which provides information about running processes and the kernel
processes
/var
This directory contains files which may change in size, such as spool and log files
variables
/sys
Virtual file system, similar to /proc
/run
That is /var/run
/srv
Service Data Directory
service
LVM STORAGE MECHANISMS
Performance
Redundancy
Space Efficiency
Use Case
Linear
Normal
β No
β High
Basic storage growth
Striped
β High
β No
β High
Fast I/O, performance
Mirrored
Moderate
β Yes
β Low
Data safety, critical use
Process management
Backup and restore
Terminal Keyboard shortcuts
Tools
vi/vim
Last updated
Was this helpful?