3 ms·
Love this thread! Some of mine (excluding similar to what has already been mentioned): alias cleangopro="rm -rf /Volumes/GOPRO/DCIM/*" alias mkdir="mkdir -
by BigBalli 8y ago
Love this thread!
Some of mine (excluding similar to what has already been mentioned):
alias cleangopro="rm -rf /Volumes/GOPRO/DCIM/*"
alias mkdir="mkdir -pv"
alias ssh<proj>="ssh <user>@<ip>"
alias clearmail='sudo rm /var/mail/<user>'
alias flushcache='dscacheutil -flushcache && sudo killall -HUP mDNSResponder'
alias listenforpwd="sudo tcpdump port http or port ftp or port smtp or port imap or port pop3 or port telnet -lA | egrep -i -B5 'pass=|pwd=|log=|login=|user=|username=|pw=|passw=|passwd=|password=|pass:|user:|username:|password:|login:|pass |user '"
alias listenforuseragent="sudo tcpdump -vvAls0 | grep 'User-Agent:'"
alias listenforgetreq="sudo tcpdump -vvAls0 | grep 'GET'"
- remram 8y agoSSH has a configuration file (.ssh/config) which lets you set configuration for specific hosts and even aliases: Host reproserver User remi Hostname 128.122.217.96 IdentityFile ~/.ssh/id_rpz