Terminal Mastery — Navigate, Manage, Monitor, Automate
File System · Permissions · Processes · Networking · Shell Scripts · Security
DevOps, Backend Dev, System Admin, Cyber Security အတွက် မဖြစ်မနေ သိရမည့် Linux
ls, cd, pwd, mkdir, rmdir, cp, mv, rm, find, tree, FHS directory layout
chmod, chown, chgrp, umask, useradd, passwd, groups, sudo, /etc/passwd
cat, less, head, tail, grep, sed, awk, cut, sort, uniq, wc, diff, vi basics
ps, top, htop, kill, jobs, fg, bg, nohup, nice, systemctl, journalctl
ip, ss, netstat, ping, traceroute, curl, wget, ssh, scp, rsync, dig, nmap
df, du, free, uname, cron, at, apt/yum, tar, zip, environment variables
Variables, if/else, loops, functions, arguments, exit codes, cron scripts
SSH key auth, UFW firewall, fail2ban, auditd, lynis, security checklist
pwd — show path
ls -lah — list files
cd /var/log — go to dir
find / -name "*.conf"
which python3
cp src dst — copy
mv src dst — move/rename
rm -rf dir — delete
chmod 755 file
chown user:group file
grep -r "text" /path
cat file | grep "err"
tail -f /var/log/syslog
sed 's/old/new/g' f
awk '{print $1}' file
ps aux | grep nginx
kill -9 PID
top / htop
systemctl status nginx
journalctl -xe
ip addr — interfaces
ss -tulpen — open ports
curl -I https://site.com
ssh user@host
scp file user@host:/path
uname -a — kernel ver
df -h — disk usage
free -h — memory
uptime
cat /etc/os-release