Linux DAY 3

Listen to this Post

You Should Know:

1. Basic Linux Commands:

– `ls` – List directory contents
– `cd` – Change directory
– `pwd` – Print working directory
– `mkdir` – Create a new directory
– `rm` – Remove files/directories
– `cp` – Copy files/directories
– `mv` – Move/rename files

2. File Permissions:

– `chmod` – Change file permissions (e.g., chmod 755 file.sh)
– `chown` – Change file ownership (e.g., chown user:group file.txt)

3. System Monitoring:

– `top` – Display running processes
– `htop` – Interactive process viewer
– `df -h` – Check disk space usage
– `free -m` – Check memory usage

4. Networking Commands:

– `ifconfig` / `ip a` – Network interface configuration
– `ping` – Test network connectivity
– `netstat` – Network statistics
– `ss` – Socket statistics

5. Package Management:

  • Debian/Ubuntu: `apt update && apt upgrade`
  • RHEL/CentOS: `yum update`
  • Arch: `pacman -Syu`

6. Text Processing:

– `grep` – Search text (e.g., grep "error" logfile)
– `awk` – Text processing tool
– `sed` – Stream editor

7. SSH & Remote Access:

– `ssh user@host` – Connect to a remote server
– `scp` – Secure file transfer (e.g., scp file.txt user@host:/path)

8. Shell Scripting Basics:

#!/bin/bash 
echo "Hello, Linux!" 

What Undercode Say:

Mastering Linux commands is essential for DevOps and system administration. Regular practice with file management, permissions, and scripting will enhance efficiency. Automation with Bash and monitoring tools like `htop` ensures smooth system operations.

Expected Output:

A well-structured Linux command guide for daily sysadmin tasks.

References:

Reported By: Kinge Hans – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass βœ…

Join Our Cyber World:

πŸ’¬ Whatsapp | πŸ’¬ TelegramFeatured Image