Skip to content
Go back

Linux Cheat Sheet

Edit Page

“The art of command line” should have included most essential commmands. https://github.com/jlevy/the-art-of-command-line

“Linux Productivity Tools” by Ketan M. https://www.olcf.ornl.gov/wp-content/uploads/2019/12/LPT_OLCF.pdf

Plus all kinds of cheatsheets online. https://tmuxcheatsheet.com/

You would thank shellcheck.

My Tips

I don’t think there is any meaning memorising all the commands and options. I learn the commands when I use them. I forget if I don’t touch them for a long time.

On top of that, why would I bother when I have handy tools like tldr, cheat.sh and man.

The really important commands you should remember are:

brew install tlrc
tldr tar
# or
curl cht.sh/tar
# or
man tar

Commands

File

I can spend a section on sed and awk and more on find. But I will probably ask AI when I want to use them.

File permisson:

# user group other
-rwxrwxrwx
# directory
drwxrwxrwx

SSH

Bash

System

Network

DNS file: /etc/resolv.conf

Notes

An inode stores all metadata about a file, except for the filename.

Hard links:

Symbolic (soft) links:


Edit Page
Share this post on:

Previous Post
Publish To NPM
Next Post
Trolled By AI