Why Linux CLI is the spearpoint blade of your SRE/DevOps/ITOps swiss army knife.
Random screen grab from SwitchedToLinux. Please ping me if you own the image and need credits.

Why Linux CLI is the spearpoint blade of your SRE/DevOps/ITOps swiss army knife.

Why Linux CLI is the spearpoint blade of your SRE/DevOps/ITOps swiss army knife.

Trying something on Docker got me musing that the Docker CLI is (almost) the same as Linux CLI. I am guessing that's by design.

That further got me thinking along the lines that Linux CLI should be the most important tool in an SRE/DevOps/ITOps person's arsenal.

I Googled around for the top 10 most important tools for SRE/DevOps/ITOps. The results were all full of new age ( and decidedly useful/awesome ) suspects.

In my opinion, all the Dockers, Grafanas, Gits, Ansibles, AWS, Azures, PagerDuties etc are all great but Linux CLI is the most important, the most used, and the most underrated tool in our toolkit.

No alt text provided for this image

( Image grab from awwmemes.com. Please contact me for credits, if you are the owner of the image )

Let me try to make the case.

Linux CLI is ubiquitous. There are (mainly ) two operating system families. Windows Family and the MUCH bigger Linux Family (Mac OS X, Android, Chrome OS, PS4 OS are all from the Linux family). Even Windows has now introduced the WSL, Windows Subsystem for Linux to run Linux compatible cmds/libraries from your Windows Desktop.

There is an EXCELLENT Visualization at https://eylenburg.github.io/os_familytree.htm ( click on the embedded link below )

( As an aside Linux is technically a Kernel and not an OS, but for most intent and purposes it's treated as an OS, especially for the scope of this article ).

No alt text provided for this image

(Image credit unknown. Please contact me for credits, if you are the owner of the image )

Windows OS is great for desktop use. But anything on the enterprise/server-side is likely to be Linux-based. As such you will need a good grasp of Linux CLI to be able to do anything worthwhile in SRE/DevOps/ITOps.

Learning Linux CLI or Bash/ksh makes you able to do things at scale.

Churning through logs looking for clues ( find/grep/awk etc ), transforming that info into something else ( sed/awk ), deploying 100s of server instances or containers from your Docker Images ( shell scripts or even a CLI cmd line like "for I in `some list`; do something; done").

As per the latest StackOverflow Survey ( https://insights.stackoverflow.com/survey/2021#programming-scripting-and-markup-languages ) Linux commands are still one of the top 10 most used languages ( ahead of the C++ and C and just behind Python ) and one of the top 15 best paying.

Unix-like shells being ubiquitous, Linux CLI skills are transferrable whereas specific UI skills are (mostly) limited to that particular UI.

FunFact : Did you know the Containers as made famous by Docker are based on Linux Container technology ( LXC ). Docker is based on the LXC containerization technology but it has really made it a mass movement by making it very user-friendly and building tools on top of it.

I can go on, but I believe I have made my point. :)

If you want to use/practice Linux CLI on your Desktop then I would suggest downloading Windows WSL and changing the default shell to Ubuntu ( from PowerShell ).

The lovable Penguin being the Original open-source tech has tons of excellent free books to read.

I would recommend :

Linux for Beginners by Jason Cannon ( I couldn't find a reliable free download link )

The Linux Command Line by William Shotts ( https://linuxcommand.org/tlcl.php )







要查看或添加评论,请登录

Kaushik Banerjee ( He/Him/His )的更多文章

  • A Quick Linux Performance Analysis.

    A Quick Linux Performance Analysis.

    Over the last few weeks, I have twice run into "something is slow on the server side". To make my life easier and…

    1 条评论
  • Back to Basics: DevOps

    Back to Basics: DevOps

    Having been in DevOps (and SRE ) for a bit now, I decided to redo some basic courses. I found the Fundamentals of…

  • Can your process ( or VM ) allocate more memory than is physically available on the underlying Host ?

    Can your process ( or VM ) allocate more memory than is physically available on the underlying Host ?

    While trying to figure something out for Linux VMs on new hardware, I noticed that the cheapest tier had the following…

  • Linux Performance issues troubleshooting

    Linux Performance issues troubleshooting

    You are having performance issues on your Linux Server ( Bare metal or EC2). You login and start checking the…

  • What Happens When/During: File transfer in Linux

    What Happens When/During: File transfer in Linux

    Part 3: During File transfer in Linux Preface: As part of improving my general knowledge, I have hit upon the (…

  • What Happens When/During :

    What Happens When/During :

    Part 2: During *nix Login Preface: As part of improving my general knowledge, I have hit upon the ( Brilliant? Foolish…

  • What Happens When/During :

    What Happens When/During :

    Part 1: During Linux System Boot & Startup Preface: As part of improving my own general knowledge, I have hit upon the…

    1 条评论
  • Are my systems "Observable"?

    Are my systems "Observable"?

    So people ask/wonder often, we have so much ( too much ? ) alerting and monitoring. Are my systems what they call…

    2 条评论
  • Surprising facts about energy consumption in PoW@BTC

    Surprising facts about energy consumption in PoW@BTC

    I read 3 lucid articles in the last 24 hrs which repudiates in great length the general impression that PoW miners are…

    1 条评论
  • Where/How to start when assembling a new SRE Team.

    Where/How to start when assembling a new SRE Team.

    The below is my interpretation of an interesting talk by Benjamin Bütikofer at USENIX SRECon21. All the good parts are…

社区洞察

其他会员也浏览了