3 ms·
Things I Wish I'd Known About Bash (2017)
- vr46 5y ago1. Use Zsh
- clarge1120 5y agoNice article. It convinced me to use bash even on Windows rather than installing PowerShell everywhere.
- majkinetor 5y agoWhat a junk article, if it convinced you to do a wrong thing.
- philkrylov 5y agoIMHO every such collection of Bash tips should include information on POSIX shell compatibility of each construct. Wait, has the author written a whole book on Bash? Does it ever mention the existence of other shells? P.S.: It does. But not much more than that.
- zwischenzug 5y agoThe book is not aimed at advanced knowledge or use (same with my Git book). The Hard Way method is designed to teach people for practical usage and understanding. There's plenty of great resources for the more formal stuff out there, but less for how to get to the point where you can understand them.
- bierjunge 5y agoNice intro, but it's lacking a more in depth explanation. But there are good resources like the bash hackers wiki [0] and Greg's BashGuide [1] for more shell craziness. [0] https://wiki.bash-hackers.org/ https://wiki.bash-hackers.org/ [1] https://mywiki.wooledge.org/BashGuide https://mywiki.wooledge.org/BashGuide
- Svetlitski 5y ago:h was new to me, I have always used ${path##*/} to achieve the same thing.