From 8db5c1b0b6f93ba81b2db6a43e4157f57e5d02aa Mon Sep 17 00:00:00 2001 From: Asha Mule Date: Fri, 3 Jul 2026 17:21:18 +0530 Subject: [PATCH] Create linux-commands-cheatsheet.md with command list Added a comprehensive Linux commands cheat sheet covering process management, file system commands, and networking troubleshooting. --- 2026/day-03/README.md | 82 ------------------------ 2026/day-03/linux-commands-cheatsheet.md | 51 +++++++++++++++ 2 files changed, 51 insertions(+), 82 deletions(-) delete mode 100644 2026/day-03/README.md create mode 100644 2026/day-03/linux-commands-cheatsheet.md diff --git a/2026/day-03/README.md b/2026/day-03/README.md deleted file mode 100644 index 5ccf2ccc98..0000000000 --- a/2026/day-03/README.md +++ /dev/null @@ -1,82 +0,0 @@ -# Day 03 – Linux Commands Practice - -## Task -Today’s goal is to **build your Linux command confidence**. - -You will create a cheat sheet of commands focused on: -- Process management -- File system -- Networking troubleshooting - -This is the command toolkit you will reuse for years. - ---- - -## Expected Output -By the end of today, you should have: - -- A markdown file named: - `linux-commands-cheatsheet.md` - -or - -- A hand written cheat sheet (Recommended) - -Your cheat sheet should be easy to scan during real troubleshooting. - ---- - -## Guidelines -Follow these rules while creating your cheat sheet: - -- Include **at least 20 commands** with one‑line usage notes -- Add **3 networking commands** (`ping`, `ip addr`, `dig`, `curl`, etc.) -- Group commands by category -- Keep it concise and readable - ---- - -## Resources -You may refer to: - -- Linux `man` pages -- Your class notes -- Reliable Linux command references - -Don’t copy long lists. Focus on commands you understand. - ---- - -## Why This Matters for DevOps -Real production issues are solved at the command line. - -The faster you can inspect logs and network issues, the faster you can: -- Restore service -- Reduce downtime -- Gain trust as an operator - ---- - -## Submission -1. Fork this `90DaysOfDevOps` repository -2. Navigate to the `2026/day-03/` folder -3. Add your `linux-commands-cheatsheet.md` file -4. Commit and push your changes to your fork - ---- - -## Learn in Public -Share your Day 03 progress on LinkedIn: - -- Post 2–3 lines on your favorite Linux commands -- Share one log command and one networking command -- Optional: screenshot of your cheat sheet - -Use hashtags: -#90DaysOfDevOps -#DevOpsKaJosh -#TrainWithShubham - - -Happy Learning -**TrainWithShubham** \ No newline at end of file diff --git a/2026/day-03/linux-commands-cheatsheet.md b/2026/day-03/linux-commands-cheatsheet.md new file mode 100644 index 0000000000..4e5288995e --- /dev/null +++ b/2026/day-03/linux-commands-cheatsheet.md @@ -0,0 +1,51 @@ +# Day 03 – Linux Commands Practice + +## Task +Today’s goal is to **build your Linux command confidence**. + +Process Management +ps - Display running processes +ps -ef - Show all running processes +top - Monitor system processes in real time +htop - Interactive process viewer +kill PID - Terminate a process by PID +kill -9 PID - Forcefully terminate a process +pkill process_name - Kill process by name +jobs - List background jobs +bg - Resume a job in the background +fg - Bring a background job to the foreground + + +- File system +pwd - Print current working directory +ls - List files and directories +ls -la - List all files including hidden files +cd directory - Change directory +mkdir folder - Create a directory +touch file.txt - Create a new file +cp source destination - Copy files +mv source destination - Move or rename files +rm file.txt - Delete a file +rm -r folder - Delete a directory recursively +cat file.txt - Display file contents +nano file.txt - Edit a file +find . -name file.txt - Search for a file +df -h - Show disk usage +du -sh * - Show directory sizes + + +- Networking troubleshooting + +ip addr - Display IP addresses +hostname -I - Show local IP address +ping google.com - Test network connectivity +curl https://example.com - Test HTTP connectivity +wget URL - Download a file +ssh user@host - Connect to a remote server +ss -tuln - Display listening ports +netstat -tuln - Show network connections (if installed) +traceroute google.com - Trace network path +dig google.com - Query DNS information + + +