Skip to content

bash aliases

robertstrom edited this page Aug 11, 2020 · 1 revision

Welcome to the bashAliasesAndFunctions wiki!

alias NmapIntenseNoPing='nmap -T4 -A -v -Pn'

alias NmapPingScan='nmap -sn'

alias NmapQuickScan='nmap -T4 -F'

alias NmapQuickScanPlus='nmap -sV -T4 -O -F --version-light'

alias NmapSlowComprehensiveScan='nmap -sS -sU -T4 -A -v -PE -PP -PS80,443 -PA3389 -PU40125 -PY -g 53 --script "default or (discovery and safe)"'

alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '''s/^\s*[0-9]+\s*//;s/[;&|]\s*alert$//''')"'

alias digExternalIPAddress='dig +short myip.opendns.com @resolver1.opendns.com'

alias digInfoBloxFwd='dig @replace-with-IPAddress'

alias digInfoBloxRev='dig @replace-with-IPAddress -x'

alias phishing='cd /mnt/c/Users/path-to-directory'

alias working='cd /mnt/c/Working'

alias downloads='cd /mnt/c/Users/path-to-directory'

alias desktop='cd /mnt/c/Users/path-to-directory'

Clone this wiki locally