r/learnwithcodelivly • • Oct 15 '26

Linux Commands Cheat Sheet for Cloud & DevOps Beginners

Post image

Linux is one of those skills that comes up everywhere, whether you're working with cloud infrastructure, DevOps, system administration, or cybersecurity.

I put together this cheat sheet covering useful Linux commands for everyday tasks, server management, and troubleshooting.

What's covered:

  • File management: ls, cd, mkdir, cp, mv, rm

  • Remote access: ssh

  • Networking: ping, dig, wget

  • System monitoring: uptime, df -h, free -h, uname

  • Searching: grep, locate

  • Process management: ps, kill, bg, fg

  • Permissions and archiving: chmod, tar, gzip

  • Useful terminal shortcuts

Memorizing commands is one thing. Understanding their output and knowing how to use them safely when troubleshooting real systems is what makes the difference.

For those taking Linux further into cybersecurity, here's another resource worth exploring:

The Pentester's Linux Library Playbook: Advanced Privilege Escalation

https://resources.codelivly.com/product/the-pentesters-linux-library-playbook-advanced-privesc/

And if you're looking to develop practical skills in ethical hacking and penetration testing, check out the training program here:

Ethical Hacking & Penetration Testing Training
https://training.codelivly.com/programs/ethical-hacking-and-penetration-testing

What Linux command or privilege escalation technique took you the longest to understand?

701 Upvotes

11 comments sorted by

4

u/Potential-Couple-745 Oct 15 '26

For those taking Linux further into cybersecurity, here's another resource worth exploring:

The Pentester's Linux Library Playbook: Advanced Privilege Escalation

https://resources.codelivly.com/product/the-pentesters-linux-library-playbook-advanced-privesc/

And if you're looking to develop practical skills in ethical hacking and penetration testing, check out the training program here:

Ethical Hacking & Penetration Testing Training
https://training.codelivly.com/programs/ethical-hacking-and-penetration-testing

1

u/Fearless-Vintage Oct 15 '26

Thank you. This is very helpful.

1

u/mike410 Oct 15 '26

Nice, I leaned a few, but also missing a few. I’d add env, export & ctrl-A

1

u/vivaaprimavera Oct 17 '26

The cat description is wrong. cat isn't meant to "display files", cat is meant to dump files to standard output.

0

u/ScaryTutor2261 Oct 16 '26

Mixing a lot of Linux commands and shell commands. Also not owner/group/other, but user/group/ other as can be seen in chmod(1)