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

Portuguese speakers have counted for a long time with this gem, simply the best Bash doc/cheat sheet I've ever seen on the web. This is probably my oldest bookmark still relevant after 15 years.

It's in portuguese and I'm not sure if there's an official translation, yet it's easy enough to decipher if you know bash, and Google Translate will do a pretty decent job.

I gift you "Aurelio's Swiss Army Knife of the Bash Shell" - http://aurelio.net/shell/canivete/



Thanks for the heads up - it does work via translate.

I'll drop this: http://tldp.org/LDP/abs/html/ If anyone, who has to do anything BASH related, has not seen it then they should!


I'd recommend against the Advanced Bash-Scripting Guide -- it uses a lot of bad practices (like unquoted variable references!) that you're better off not learning. Instead, check out http://mywiki.wooledge.org/BashGuide and http://mywiki.wooledge.org/BashFAQ. Also, http://www.shellcheck.net is a good automated tool for sanity-checking syntax errors and common mistakes.


Ah, curious. Despite being a native Portuguese speaker, ever since I learned English well enough (which was before I started using Linux), I always search for stuff in English, so I never came across that guide.

That said, that guide doesn't seem to have the tricks from the top article, at least 1-4.


Aurelio is the madman/genius behind Arkanoid in sed[1], Sokoban in sed[2] and sedsed, a sed debugger[3]. I have no trouble believing that he has a few shell tricks up his sleeve.

[1]: http://aurelio.net/projects/sedarkanoid/

[2]: http://aurelio.net/projects/sedsokoban/

[3]: http://aurelio.net/projects/sedsed/




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

Search: