Added alias to check my IP address using curl

This commit is contained in:
Eduard Tolosa 2018-11-23 17:01:00 -05:00
parent 6c1f3308ef
commit 7f37dce8a5

8
bashrc
View file

@ -110,14 +110,15 @@ fi
### OWN ALIAS ### ### OWN ALIAS ###
#Pastes #Pastes
alias pb='curl -F c=@- https://ptpb.pw/?u=1' #alias pb='curl -F c=@- https://ptpb.pw/?u=1'
alias ix="curl -F 'f:1=<-' ix.io" alias ix="curl -F 'f:1=<-' ix.io"
#Neofetch #Neofetch
#alias neofetch='cat neof'
alias neofetch='neofetch --cpu_cores logical --cpu_temp' alias neofetch='neofetch --cpu_cores logical --cpu_temp'
#Temperature #Temperature
alias clima='curl wttr.in/bucaramanga?lang=es' alias clima='curl wttr.in/bogota?lang=es'
# Youtube to MP3 and MP4 # Youtube to MP3 and MP4
alias ytmp3="youtube-dl --output '~/Music/Downloaded/%(title)s.%(ext)s' --extract-audio --audio-format mp3" alias ytmp3="youtube-dl --output '~/Music/Downloaded/%(title)s.%(ext)s' --extract-audio --audio-format mp3"
@ -159,6 +160,9 @@ alias ksignal='killall -9 signal-desktop'
# Alias to see the actual CPU frequency # Alias to see the actual CPU frequency
alias cpufreq='watch grep \"cpu MHz\" /proc/cpuinfo' alias cpufreq='watch grep \"cpu MHz\" /proc/cpuinfo'
# Alias to check what is my actual system IP using curl
alias wtfip='curl ifconfig.co'
# Avoid pip installing packages as root/sudo, execute the following line in your terminal or just delete the # at the begin # Avoid pip installing packages as root/sudo, execute the following line in your terminal or just delete the # at the begin
#install -Dm644 /dev/stdin ~/.config/pip/pip.conf <<< $'[install]\nuser = yes\n' #install -Dm644 /dev/stdin ~/.config/pip/pip.conf <<< $'[install]\nuser = yes\n'