Linux Mastery 2025

Dari Nol Sampai Jago Terminal, Git & Kali Linux

by Madara & Grok • 2025 Edition

Progress Saya

Fase 1
Setup Lingkungan
Fase 2
Dasar Terminal
Fase 3
Naik Level
Fase 4
Git Mastery
Fase 5
Kali & Hacking
01 Fase 1 – Persiapan Lingkungan (1-2 hari)

Jangan langsung install Kali di laptop utama. Pilih salah satu cara paling aman & cepat:

Rekomendasi Beginner (Paling Gampang)

WSL2 + Ubuntu di Windows

# Buka PowerShell sebagai Admin
wsl --install

Restart → Install Ubuntu dari Microsoft Store → Done!

Mau Langsung Kali?

  • VirtualBox + ISO Kali Linux
  • Kali di WSL2 (ada cara resmi)
  • Dual boot (setelah mahir)
02 Fase 2 – Dasar Terminal (1-2 minggu)

Navigasi & File System

pwd                  # dimana aku sekarang?
ls                   # lihat isi folder
ls -la               # semua file + hidden
cd nama_folder       # masuk folder
cd ..    cd ~    cd / # navigasi cepat

Manipulasi File & Folder

touch file.txt       # bikin file kosong
mkdir folder         # bikin folder
cp file1 file2       # copy file
cp -r fold1 fold2    # copy folder
mv file1 file2       # pindah / rename
rm file              # hapus file
rm -r folder         # hapus folder
rm -rf /             # JANGAN PERNAH KETIK INI 😱

Lihat Isi File

cat file.txt
less file.txt        # bisa scroll
head file.txt        # 10 baris pertama
tail -f log.txt      # pantau live (penting!)

Permission & Tips

chmod +x script.sh   # bikin executable
sudo !!              # ulang perintah terakhir pake sudo (lifesaver)
03 Fase 3 – Naik Level (Minggu 3-6)

Editor Terminal

nano → pemula
vim → wajib minimal: i → Esc → :wq

Piping & Redirect (Power of Linux)

cat file | grep "error" > error.log
history | grep git
ps aux | grep python

Download & Package

wget url
curl -O url
sudo apt update && sudo apt upgrade
sudo apt install nama_paket
04 Fase 4 – Git dari Terminal
git clone https://...
git status
git add .              # atau git add nama_file
git commit -m "pesan jelas"
git push
git pull
git log --oneline
git branch feat-x
git checkout feat-x
05 Fase 5 – Kali Linux & Ethical Hacking
sudo -i
msfconsole
nmap -sV -A target.com
airmon-ng start wlan0
sqlmap -u "http://target.com"
john hash.txt
hashcat -m 1800 -a 0 hash.txt rockyou.txt

Mulai CTF: TryHackMe • HackTheBox • OverTheWire

Bonus: Alias Hacker Mode

Tambahin ke ~/.bashrc atau ~/.zshrc:

alias upd='sudo apt update && sudo apt upgrade -y'
alias please='sudo $(fc -ln -1)'
alias ll='ls -lah'
alias ..='cd ..'
alias ...='cd ../../'
alias grep='grep --color=auto'
alias hack='cd ~/CTF && ls'