Over the past few days, I’ve been learning Bash – and it’s been eye-opening to see how powerful the command line really is!!
I started with the basics like working with files and directories, viewing/editing files, and managing system processes. From there, I explored searching, networking commands, permissions, and even dove into special features like case statements, conditionals, functions, and variables.
What stood out to me is how Bash isn’t just about running commands – it’s about automating tasks, saving time, and having more control over the system.
It’s been a great step in building a stronger foundation in Linux and scripting, and I’m excited to keep practicing!
Here is my github repo for detailed explanation!!
Link - https://github.com/Shreyas24150/beginner-bash
| Command | Usage | Example |
| ---------------------------- | ---------------------------- | ------------------------------ |
| **ls** | List files & directories | `ls -l` |
| **cd** | Change directory | `cd /home/user` |
| **pwd** | Show current directory | `pwd` |
| **cp** | Copy files/folders | `cp file.txt backup.txt` |
| **mv** | Move/rename files | `mv old.txt new.txt` |
| **rm** | Remove files/folders | `rm file.txt` / `rm -r folder` |
| **cat / less / head / tail** | View file contents | `tail -f log.txt` |
| **grep** | Search text in files | `grep "error" logfile.txt` |
| **chmod / chown** | Change permissions/ownership | `chmod 755 script.sh` |
| **top / ps / kill** | Monitor & manage processes | `top` / `kill -9 <PID>` |

