rodrigobertin
8/5/2015 - 3:19 AM

bash_profile RNB

bash_profile RNB

echo '#Brew directorio'  								 			> ~/.bash_profile
echo export HOMEBREW_CASK_OPTS="--appdir=/Applications"  			>> ~/.bash_profile

echo '#Terminal' 													>> ~/.bash_profile
echo export CLICOLOR=1 												>> ~/.bash_profile
echo export LSCOLORS=GxFxCxDxBxegedabagaced 						>> ~/.bash_profile

echo '#Varios' 														>> ~/.bash_profile
echo "alias myip='curl ip.appspot.com'" 							>> ~/.bash_profile
echo "alias netCons='lsof -i'" 										>> ~/.bash_profile
echo "alias flushDNS='dscacheutil -flushcache'" 					>> ~/.bash_profile
echo "alias lsock='sudo /usr/sbin/lsof -i -P'" 						>> ~/.bash_profile
echo "alias lsockU='sudo /usr/sbin/lsof -nP | grep UDP'" 			>> ~/.bash_profile   
echo "alias lsockT='sudo /usr/sbin/lsof -nP | grep TCP'" 			>> ~/.bash_profile   
echo "alias ipInfo0='ipconfig getpacket en0'" 			 			>> ~/.bash_profile
echo "alias ipInfo1='ipconfig getpacket en1'" 			 			>> ~/.bash_profile
echo "alias openPorts='sudo lsof -i | grep LISTEN'" 	 			>> ~/.bash_profile
echo "alias showBlocked='sudo ipfw list'" 				 			>> ~/.bash_profile