0% found this document useful (0 votes)
27 views2 pages

Linux Commands DevOps CheatSheet

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

Linux Commands DevOps CheatSheet

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Essential Linux Commands for DevOps Engineers

What is Linux?

Linux is an open-source Unix-like operating system used widely in servers, cloud environments, containers, and more.

It's essential in DevOps for automation, scripting, system management, and running key tools like Docker and

Kubernetes.

Basic File & Directory Commands

ls - List files

cd - Change directory

pwd - Show current directory

mkdir - Create directory

rm - Remove file/directory

cp - Copy file/directory

mv - Move/rename file

touch - Create empty file

cat - Display file content

Process Management

ps - Show running processes

top / htop - Live process viewer

kill / killall - Stop processes

nice / renice - Set process priority

Networking

ping - Test connectivity

ip addr - Show IP config

netstat / ss - Network ports

curl / wget - Fetch URLs

traceroute - Path to host

Permissions & Ownership

chmod - Change permissions


Essential Linux Commands for DevOps Engineers

chown - Change ownership

umask - Set default perms

Disk & System Info

df -h - Disk usage

du -sh - Dir size

free -m - RAM usage

uptime - System uptime

uname -a - System info

Search & Filters

grep - Search text

find - Locate files

awk / sed - Text processing

Package Management

Ubuntu: apt update/install

RedHat: yum/dnf install

Misc & Useful

history - Command history

alias - Shortcut commands

crontab - Task scheduler

systemctl - Manage services

journalctl - View logs

You might also like