bashrc, alias, quickies, productivity hacker

  • Thread starter Thread starter pita
  • Start date Start date
  • Replies Replies 4
  • Views Views 3,689

pita

Regulars
Messages
223
Location
NA
ISP
FLAG is my ISP
If you got tips,tricks,hacks that you willing to share

heres somthing I use sometimes


Code:
alias whatismyip=' curl -s www.whatismyip.com/automation/n09230945.asp; echo ""'
 
How about using "http://checkip.dyndns.org/" shorter/cleaner URL for curl, does that count as an uber leet tip/trick/hack?
 
no thats a so so hack 😛

Code:
alias checkip='lynx -dump  http://checkip.dyndns.org'
dyndns returns htmled output instead of plain text, curl wouldnt do justice.
 
ah, i just did "telnet checkip.dyndns.org 80" then "GET /" and yes, its html, i always thot it was just a line of text...
 

Top