A page of different reference links that I think are interesting or useful.

Security

Programming

Education

IT

Linux

This is just commands that I either use often or thought were interesting

  • Set or remove debugging symbols: Bash -x/+x
  • Run the Last Command as Root: sudo !!
  • Start a Web Server on https://localhost:8080: python -m SimpleHTTPServer
  • Grab your External IP: curl ifconfig.me
  • Query Wikipedia Over DNS: dig +short txt <keyword>.wp.dg.cx
  • SSH Through a JumpHost: ssh -t reachable_host ssh unreachable_host
  • Close shell but preserve child processes: disown -a && exit
  • Print Slow Typing like the movies: echo "Im in the mainframe" | pv -qL 10
  • Scroll Random data on the terminal: cat /dev/urandom | hexdump -C | grep "ca fe
  • Find if your system is 32 or 64 bit: getconf LONG_BIT
  • Terminal Beep when a machine comes online: ping -i 60 -a <IP_ADDR>
  • Create a Random 10 Char String: strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 10 | tr -d '\n'; echo
  • Poor mans tree: find . -type d | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/| - \1/" or find | sed 's|[^/]*/|- |g'
  • Edit Disks Easier: cfdisk

Etc