Skip to content

Instantly share code, notes, and snippets.

@b1nary
Created January 23, 2012 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b1nary/1665298 to your computer and use it in GitHub Desktop.
Save b1nary/1665298 to your computer and use it in GitHub Desktop.
the linux command reference of awesomeness

Seta's Command Book

Why this exists...

  • as reference for me
  • because Linux is to amazing to hold all commands
  • because the world needs to know! xD

Note that this is actually growing... Its not really much yet ;)

Administration

repeat command as root

sudo !!

repeat last command replace

^this^withthat^

repeat last command matching (add :p to dont execute)

!thishere[:p]

Network

ping + trace combination

mtr google.com

DNS

"trace" with dig

dig google.ch +trace

reverse name lookup (IPv4 to domain(s))

dig @8.8.8.8 -x 85.25.95.42 +short

Media

capture desktop

ffmpeg -f x11grab -s sxga -r 24 -i :0.0 /tmp/out.mpg

Hardware

limit cpu usage for thread

cpulimit -p pid -l 42

Gimmicks

CLI Presentations ^^

tpp

start a webserver relative from directory

python -m SimpleHTTPServer

Funny nonsense

Terminal Matrix

cmatrix

a create example for impressive ASCII Animations

bb

StarWars over Telnet ^^

telnet towel.blinkenlights.nl

figlet was yesterday, today is toilet!

╻ ╻┏━┓╻ ╻
┗┳┛┣━┫┗┳┛
 ╹ ╹ ╹ ╹ 
toulet -f future "yay"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment