Linux Cheatsheet for DevOps ♾

Tejashree Salvi
10 min readApr 26, 2023

Day 3/90 with Shubham Londhe

As a DevOps engineer, you’re expected to know your way around Linux command line tools. This cheat sheet can help.

Let’s get started! 💯

⫸ Basic commands 😊

✍ mkdir

mkdir linux-basics: creates a new directory with the specified name.

  • mkdir dev qa prod : creates multiple directories at once.
  • mkdir logfolder{1..10} : creates a range of directories with sequential numbers from 1 to 10.

✍ sudo: stands for ‘superuser do’

sudo [options] [cmd]: It is used to execute commands as a root user or super user.

  • sudo apt-get update : updates the package list

--

--

Tejashree Salvi
Tejashree Salvi

Written by Tejashree Salvi

Learning DevOps, Blogging, Programming

Responses (17)