KEMBAR78
DevOps CheatSheet | PDF
0% found this document useful (0 votes)
10 views2 pages

DevOps CheatSheet

This cheat sheet outlines key concepts and commands in DevOps, focusing on virtualization, Linux commands, VI editor commands, and Git commands. It covers virtualization types and networking modes, essential Linux file operations and system info commands, basic navigation and editing in the VI editor, and fundamental Git commands for setup, status checking, staging, committing, and syncing with remote repositories. This resource serves as a quick reference for DevOps practitioners to enhance their workflow efficiency.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

DevOps CheatSheet

This cheat sheet outlines key concepts and commands in DevOps, focusing on virtualization, Linux commands, VI editor commands, and Git commands. It covers virtualization types and networking modes, essential Linux file operations and system info commands, basic navigation and editing in the VI editor, and fundamental Git commands for setup, status checking, staging, committing, and syncing with remote repositories. This resource serves as a quick reference for DevOps practitioners to enhance their workflow efficiency.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

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>`

You might also like