Last active
March 27, 2017 13:28
Revisions
-
sweetmandm revised this gist
Mar 27, 2017 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,6 @@ alias ..="cd .." alias ...="cd ..; cd .." alias la="ls -a" # Get readable list of network IPs alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'" -
sweetmandm revised this gist
Dec 12, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,7 @@ alias ..="cd .." alias ...="cd ..; cd .." alias la="ls -a" alias cdh="cd ~" # Get readable list of network IPs alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'" -
sweetmandm created this gist
Sep 24, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #aliases alias ..="cd .." alias ...="cd ..; cd .." alias la="ls -a" # Get readable list of network IPs alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'" alias myip="dig +short myip.opendns.com @resolver1.opendns.com" alias flush="dscacheutil -flushcache" # Flush DNS cache