🔥 Commands of Linux 🔥

AWSomeVikashAWSomeVikash
2 min read

So today I studied the commands of Linux, how it works, and little Shubham Londhe taught it in such a way that even a child can understand it, that too very deeply.
In somewhere I’m wrong then please correct me 😇

▶️ So Linux is either a file or a directory, and there (/) is known as the root directory where Linux started.

▶️ Gitbash: it means it’s a shell which allows you to connect to a kernel.

▶️ mkdir :- mkdir user ▷ It creates a user name directory.

▶️ Touch :- Touch my-file.txt ▷ It creates a file named my-file.txt

▶️ mnt :- for mounting storage a devices

▶️ home :- home is the directory where user folders (home directories) are stored.

▶️ sbin :- there is a system level binary files are kept.

▶️ bin :- binary , it means either zero or one

▶️ root :- root is a basically super user which handles the hole system.

▶️ media :- files , folder , images are saved in media

▶️ etc :- etc generally holds all the configuration files.

▶️ Boot : Boot loads all the necessary code that helps the system start and run properly.

▶️ opt :- opt is a folder where manually installed third-party software is stored

▶️ man :- Stands for manual used to read and help with the documentation of common commands.

⭐️ Let if we want to go to direct home directories then we use cd (~) it directly redirect into home.

▶️ rm :- rm is used to removed file.

▶️ rmdir :- rmdir is remove a empty directory

▶️ rm -r :- is used to remove directly , even if there is a file in it.

▶️ rm -v :- here ( v )is verbose, used to show the name of each file as it deletes it.

▶️ rm -rf :- it deletes forcefully directory & file. (⭐️but always avoid it ⭐️😀)

▶️ vim :- vim is a text editor , and in text editor we want to go for insert mode then press (i) & after typing press [ESC] to back and press ( :wq) to save file.

▶️ apt :- For upgrading packages or installing updates ( apt-get update), it won’t run without admin permission, so we always use [ sudo apt-get update].

Here sudo is a super user and also a group that has the permission of a root user [OR] it allows a regular user to run commands with admin / root privileges.

Ex- sudo apt-get update, sudo apt-get upgrade [ here sudo apt-get update will download packages , and sudo apt-get upgrade will upgrade packages] .

0
Subscribe to my newsletter

Read articles from AWSomeVikash directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

AWSomeVikash
AWSomeVikash

🚀 Hi, I'm Vikash Patel — a passionate AWS & DevOps enthusiast, sharing my complete learning journey and real-world implementations. 📘 On this blog, I’m publishing a full DevOps + AWS roadmap — from basics to advanced, covering: 🟡 AWS Services: EC2, S3, IAM, CloudWatch, Billing, and more 🐧 Linux commands & scripting ⚙️ CI/CD pipelines with GitHub Actions & Jenkins 🧱 Infrastructure as Code using Terraform 📈 Monitoring, Alerts & Troubleshooting 💡 Every post is beginner-friendly — focused on clarity, practical use-cases, and hands-on solutions. 🌐 I’m also building my presence in the AWS Community, sharing what I learn, and learning from others. 🌱 Whether you're starting your cloud journey or looking for practical DevOps solutions, this blog is for you.