diff options
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -55,6 +55,9 @@ alias whois="whois -h whois-servers.net" # Flush Directory Service cache alias flush="dscacheutil -flushcache" +# Clean up LaunchServices to remove duplicates in the “Open With” menu +alias lscleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder" + # View HTTP traffic alias sniff="sudo ngrep -d 'en1' -t '^(GET|POST) ' 'tcp and port 80'" alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\"" |