Day 15: Linux Introduction – Ethical Hacking ke liye Linux Basics (Beginner Guide in Hindi)
🐧 Day 15: Linux Introduction
(Bug Hunting / Ethical Hacking Course – Day 15)
Agar aap Ethical Hacking ya Bug Bounty seriously seekh rahe ho, to Linux aapka sabse powerful tool banne wala hai.
Maximum hackers aur security professionals Linux use karte hain kyunki ye fast, secure aur customizable hota hai.
Aaj hum Linux ka basic introduction detail me samjhenge.
🔹 Linux Kya Hai?
Linux ek open-source Operating System hai.
Open-source ka matlab:
Iska source code public hota hai, koi bhi use modify kar sakta hai.
Linux ka core part hota hai Kernel, jo hardware aur software ke beech communication manage karta hai.
Linux ko 1991 me Linus Torvalds ne create kiya tha.
🔹 Linux vs Windows – Basic Difference
| Feature | Windows | Linux |
|---|---|---|
| License | Paid | Free & Open Source |
| Security | Medium | High |
| Customization | Limited | Very High |
| Virus Risk | Zyada | Kam |
| Hacking Tools Support | Limited | Maximum |
👉 Isi wajah se hackers mostly Linux prefer karte hain.
🔹 Linux Distributions (Distros) Kya Hote Hain?
Linux ke different versions ko Distributions (Distros) kehte hain.
🔥 Popular Linux Distros:
1️⃣ Kali Linux
→ Ethical hacking ke liye specially designed
→ 600+ security tools pre-installed
2️⃣ Ubuntu
→ Beginners ke liye easy & user friendly
3️⃣ Parrot OS
→ Security & privacy focused distro
4️⃣ Debian
→ Stable & lightweight system
👉 Bug Bounty ke liye sabse popular choice: Kali Linux
🔹 Linux Hackers Ke Liye Important Kyun Hai?
✔️ Free & legal
✔️ Powerful command line
✔️ Lightweight
✔️ High security
✔️ Internet ke most servers Linux based hote hain
Agar aap Linux samajh jaate ho, to aap servers ko better understand kar sakte ho.
🔹 Linux Interface Types
Linux me 2 main interface types hote hain:
1️⃣ GUI (Graphical User Interface)
Normal desktop jaisa interface – icons, folders, mouse use karte hain.
2️⃣ CLI (Command Line Interface)
Terminal me commands type karke kaam karte hain.
Example commands:
ls
pwd
cd
whoami
👉 Ethical hacking me CLI sabse important hota hai.
🔹 Linux File System Structure
Linux me sab kuch file system ke andar hota hai.
Main directories:
/home
/root
/etc
/bin
/var
Linux path example:
/home/alok/Desktop
Windows path example:
C:\Users\Desktop
Yeh difference samajhna important hai.
🔹 Linux File Permissions (Basic Idea)
Linux me 3 types ke users hote hain:
Owner
Group
Others
Permission types:
r → Read
w → Write
x → Execute
Example:
-rwxr-xr-x
Iska detailed concept hum aage seekhenge.
🔹 Linux Install Kaise Kare?
Aap Linux 3 tarike se use kar sakte ho:
1️⃣ Virtual Machine (Best for beginners)
2️⃣ Dual Boot
3️⃣ Live USB
Virtual Machine ke liye aap VirtualBox use kar sakte ho.
🔹 Important Terms
| Term | Meaning |
|---|---|
| Kernel | OS ka core |
| Terminal | Command window |
| Root | Admin user |
| Package | Software file |
| Repository | Software storage server |
📝 Practice Task (Compulsory)
✅ Kali Linux download karo
✅ VirtualBox me install karo
✅ Terminal open karo
✅ Ye commands run karo:
whoami
pwd
ls
date
Notes me screenshot add karo.