michael@slashetc:~$

  • [Scripts for Lazy People] ssh-copy-id {id} {host}

    Ok I'll admit it... I can be a bit lazy. If I could script doing the dishes I would. I think it would look a bit like this: while read SINK ; do clean ${SINK} dry ${SINK} mv ${SINK} /usr/share/cabnet/ echo "Item ${SINK} has been cleaned" done But unfortunately this...

  • Hardening Ubuntu Security

    Mind your ports, patch your shit, and your browser is scary... Ubuntu security isn't difficult: Hardening your Ubuntu installation is usually a straight forward process. Yet sometimes in our haste, we forget to address important security measures early on. In this article I'll share my essential Ubuntu security hardening techniques....

  • Bash tip: Extracting content from compressed files without the hassle

    If you work with file archives that come in many different "flavors", you might find this little trick to be a handy one. Add a function to your .bash_profile that runs the proper extraction command based on the file's extension(s). This will keep you from ever having to scratch your...