Useful Linux Commands for debugging and system management
In this blog post, I'll share some of the Linux commands I use regularly.
๐
๐ข๐ฅ๐ ๐๐ง๐ ๐๐ข๐ซ๐๐๐ญ๐จ๐ซ๐ฒ ๐๐๐ง๐๐ ๐๐ฆ๐๐ง๐ญ:
* ls: List directory contents.
* cd: Change directory.
* pwd: Print working directory.
* mkdir: Create a new directory.
* rm: Remove files or directories.
* cp: Copy files or directories.
* mv: Move or rename files or directories.
๐๐ฌ๐๐ซ ๐๐ง๐ ๐๐๐ซ๐ฆ๐ข๐ฌ๐ฌ๐ข๐จ๐ง ๐๐๐ง๐๐ ๐๐ฆ๐๐ง๐ญ:
* useradd: Add a new user.
* passwd: Set or change user passwords.
* chown: Change file ownership.
* chmod: Modify file permissions.
* su: Switch user.
* sudo: Execute commands with superuser privileges.
๐๐ซ๐จ๐๐๐ฌ๐ฌ ๐๐ง๐ ๐๐๐ซ๐ฏ๐ข๐๐ ๐๐๐ง๐๐ ๐๐ฆ๐๐ง๐ญ:
* ps: Display running processes.
* top: Monitor system processes.
* kill: Terminate processes.
* systemctl: Manage system services
* service: Manage services
๐๐๐ญ๐ฐ๐จ๐ซ๐ค๐ข๐ง๐ ๐๐ง๐ ๐๐ฒ๐ฌ๐ญ๐๐ฆ ๐๐จ๐ง๐ข๐ญ๐จ๐ซ๐ข๐ง๐ :
* ifconfig or ip: Configure network interfaces.
* netstat: Display network statistics.
* ping: Test network connectivity.
* df: Show disk space usage.
* free: Display memory usage.
* uptime: Show system uptime.
If you're interested in learning more about DevOps, follow this blog for more such insights in the field of DevOps. This is just the start!
I also post on LinkedIn, you can connect with me there as well.