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

No matter how many times I read articles like this I always manage to learn something new. For example this time I learned about brace expansion. Will save me retyping a bunch of commands with different text.


Same here. I though I'd seen most of them by now but apparently not :)

echo ${MY_VAR:-some_default} is another class of useful functionality.


sadly, i know how that works only because it was the recommended long term fix from an RCA




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

Search: