Command Line Kya Hai? CMD aur Linux Terminal Basics in Hindi (Day 9)

๐Ÿ’ป Day 9: Command Line Basics (CMD / Terminal)

Agar aap Bug Hunting ya Ethical Hacking me career banana chahte ho, to aapko Command Line seekhna hi padega.

GUI (icons aur mouse) se kaam karna easy hota hai,
lekin security field me real power milti hai:

๐Ÿ‘‰ Command Line se

Chaliye basics samjhte hain.


๐Ÿ–ฅ Command Line Kya Hoti Hai?

Command Line ek text-based interface hoti hai jahan aap:

✔ Commands type karte ho
✔ System se direct interact karte ho
✔ Files aur processes control karte ho

Windows me ise kehte hain:

๐Ÿ‘‰ CMD (Command Prompt)

Linux me ise kehte hain:

๐Ÿ‘‰ Terminal


๐ŸชŸ Windows CMD Kaise Open Kare?

Simple steps:

1️⃣ Windows key + R press karo
2️⃣ Type karo: cmd
3️⃣ Enter press karo

Black screen open hogi jahan aap commands likh sakte ho.


๐Ÿง Linux Terminal Kaise Open Kare?

Linux me:

  • Ctrl + Alt + T
    ya

  • Applications → Terminal


๐Ÿ“‚ Basic Commands (Windows CMD)

๐Ÿ“ 1. dir

Folder ke andar ki files show karta hai.

dir

๐Ÿ“ 2. cd

Directory change karne ke liye.

cd Desktop

๐Ÿ”™ 3. cd ..

Ek folder piche jane ke liye.

cd ..

๐Ÿ“„ 4. cls

Screen clear karta hai.

cls

๐Ÿ“‚ Basic Commands (Linux Terminal)

๐Ÿ“ 1. ls

Files aur folders show karta hai.

ls

๐Ÿ“ 2. cd

Directory change karne ke liye.

cd Desktop

๐Ÿ“„ 3. pwd

Current directory show karta hai.

pwd

๐Ÿงน 4. clear

Screen clear karta hai.

clear

๐ŸŒ Networking Commands (Important for Bug Hunting)

๐Ÿ”Ž ping

Server reachable hai ya nahi check karta hai.

ping google.com

๐ŸŒ ipconfig (Windows)

IP address show karta hai.

ipconfig

๐ŸŒ ifconfig (Linux)

Network details show karta hai.

ifconfig

๐Ÿ” Bug Hunting Me Command Line Kyun Zaruri Hai?

Security tools mostly command line based hote hain.

Example:

✔ Network scanning
✔ Port checking
✔ DNS lookup
✔ Server testing

Agar aap command line me comfortable ho jaoge, to advanced tools use karna easy ho jayega.


⚠ Important Tip for Beginners

✔ Commands ko samajh kar use karo
✔ Random commands internet se copy mat karo
✔ Practice apne system ya legal lab me karo

Kabhi bhi bina permission kisi system par testing mat karo.


๐Ÿ“Š Quick Difference

FeatureCMDLinux Terminal
PlatformWindowsLinux
CommandsSlightly differentMore powerful
Security UseLimitedWidely used

๐Ÿ“ Exam Definition

Command Line ek text-based interface hai jahan user commands type karke operating system se direct interact karta hai.


๐Ÿš€ Conclusion

Aaj aapne seekha:

✔ Command Line kya hoti hai
✔ CMD aur Linux Terminal ka difference
✔ Basic commands
✔ Networking commands

Ab aap gradually technical comfort zone me aa rahe ho ๐Ÿ”ฅ

Next Day: Networking Basics (LAN, WAN, Router, Firewall)

⬅ Previous Day                       

                               Next Day ➡