Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

perfect command for a bash alias

alias godstatus='curl wttr.in'



Make it a shell function and you can parameterise invocation.

    weather () 
    { 
        curl http://wttr.in/${1:-LAX}
    }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: