Skip to content

Instantly share code, notes, and snippets.

@safarcik
Last active June 8, 2022 09:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save safarcik/93f2ee07b2f89fea4ec9488d7394b256 to your computer and use it in GitHub Desktop.
Save safarcik/93f2ee07b2f89fea4ec9488d7394b256 to your computer and use it in GitHub Desktop.
Linux commands - cheatsheet

terminal tips && tricks

ctrl + L            - clean terminal  
ctrl + R            - search in bash history  
alt + .             - list of command arguments

basic commands

pwd                 - acutal workspace path  
cd ~                - go to acutal user home directory  
ls -lart            - list files (include dot files, attributes, order by newest)
ps aux              - list of running processes
top                 - task / process manager
ip a s              - show network interfacces
cat /etc/os-*       - show os release

network troubleshooting commands

nc -vvv [host] [port]
telnet [host] [port]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment