DevOps Fundamentals & Tools - Cheat
Sheet
1. Virtualization - VMware, Hypervisor, Networking
Virtualization Process of creating virtual resources (VMs, networks, storage).
VMware Popular virtualization platform (Workstation, ESXi, vSphere).
Hypervisor Software layer for running multiple OS on one machine.
Types Type 1 (bare-metal: ESXi, Hyper-V), Type 2 (hosted: VirtualBox).
Networking Modes Bridged, NAT, Host-only, Internal.
2. Linux Basic Commands
File Navigation `pwd`, `ls`, `cd`
File Operations `touch`, `cp`, `mv`, `rm`
View Content `cat`, `less`, `head`, `tail`
Search `grep`, `find`
System Info `whoami`, `date`, `uname -a`, `df -h`, `free -m`
Admin Commands `sudo adduser`, `ps aux`, `kill`, `systemctl`, `ifconfig`, `ping`
3. VI Editor Commands
Insert Mode `i` (insert), `a` (append), `o` (open new line)
Navigation `h`(left), `l`(right), `k`(up), `j`(down), `w`(word), `0`(line start), `$`(line end)
Editing `x`(del char), `dd`(del line), `yy`(yank), `p`(paste), `u`(undo), `Ctrl+r`(redo)
Search `/word`, `?word`, `n`, `N`
Save/Quit `:w`, `:q`, `:wq`, `:q!`
4. Git Commands
Setup `git config --global user.name`, `git config --global user.email`
Check Status `git status`
Stage Files `git add file`, `git add .`
Commit `git commit -m 'msg'`
View History `git log`, `git log --oneline`
Differences `git diff`, `git diff --staged`
Sync Remote `git pull origin main`, `git push origin main`
Other `git clone <url>`, `git branch`, `git checkout <branch>`, `git merge <branch>`