chore: update all blog posts

This commit is contained in:
cojocaru-david
2025-08-14 00:29:54 +03:00
parent 39e42e5589
commit e9165549ff
405 changed files with 25604 additions and 12312 deletions

View File

@@ -19,7 +19,7 @@ updatedDate: 2025-05-02
Mastering Linux commands is non-negotiable for aspiring system administrators. Whether you're troubleshooting servers, managing files, or automating tasks, these **10 essential Linux commands** will give you the foundational skills to work efficiently. Below, we break down each command with practical examples and key options to help you gain confidence in the terminal.
## 1. `ls` List Directory Contents
## 1. `ls` - List Directory Contents
The `ls` command displays files and directories, giving you a quick snapshot of your current location.
@@ -35,7 +35,7 @@ ls -lath
```
Combines multiple flags for a comprehensive directory overview.
## 2. `cd` Change Directory
## 2. `cd` - Change Directory
Navigate the filesystem effortlessly with `cd`.
@@ -51,7 +51,7 @@ cd /var/log
```
Jumps to the system logs directory.
## 3. `grep` Search Text Patterns
## 3. `grep` - Search Text Patterns
Find specific text in files quickly with `grep`.
@@ -67,7 +67,7 @@ grep -i "error" /var/log/syslog
```
Searches for "error" in system logs, ignoring case.
## 4. `chmod` Change File Permissions
## 4. `chmod` - Change File Permissions
Control file access with `chmod` for better security.
@@ -82,7 +82,7 @@ chmod 644 config.conf
```
Sets read/write for owner, read-only for others.
## 5. `sudo` Execute Commands as Superuser
## 5. `sudo` - Execute Commands as Superuser
Run administrative tasks safely with `sudo`.
@@ -96,7 +96,7 @@ sudo apt update
```
Updates package lists (requires root).
## 6. `df` Check Disk Space Usage
## 6. `df` - Check Disk Space Usage
Monitor storage with `df`.
@@ -110,7 +110,7 @@ df -hT
```
Displays disk usage and filesystem types.
## 7. `top` Monitor System Processes
## 7. `top` - Monitor System Processes
Get real-time system performance insights.
@@ -125,7 +125,7 @@ top
```
Launches the interactive process viewer.
## 8. `tar` Archive Files
## 8. `tar` - Archive Files
Bundle and compress files efficiently.
@@ -139,7 +139,7 @@ tar -czvf logs.tar.gz /var/log
```
Compresses log files into a single archive.
## 9. `ssh` Secure Remote Access
## 9. `ssh` - Secure Remote Access
Connect to remote servers securely.
@@ -153,7 +153,7 @@ ssh admin@192.168.1.100
```
Logs into a server as `admin`.
## 10. `systemctl` Manage System Services
## 10. `systemctl` - Manage System Services
Control background services with `systemctl`.
@@ -168,6 +168,6 @@ systemctl restart nginx
```
Restarts the Nginx web server.
> *"The Linux philosophy is 'Do one thing and do it well.'"* Linus Torvalds
> *"The Linux philosophy is 'Do one thing and do it well.'"* Linus Torvalds
#Linux #SysAdmin #CommandLine #DevOps #LinuxCommands