In the course of my work I end up issuing the same simple commands again and again, and while they are pretty easy to remember, they still take more time than they really need to.
With that in mind, here's a little bash script I threw together today to reduce the time it takes to kick off a standard (in my day to day usage) nmap scan. Hopefully you can get some use out of it.
https://gist.github.com/0xdevalias/5963377
if [ -z "$1" ]; then
echo "Usage: nmap.sh ipOrHostnameToScan [any other arguments here]"
echo "Default Options: $_nmapoptshidden $_nmapopts"
exit
fi
nmap -oA $_file $_nmapoptshidden $_nmapopts $_iphost