TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bash Academy

349 pointsby obeidover 9 years ago

24 comments

alexis-dover 9 years ago
This is a WIP (hence why there are drafts and todos). This is being done by the folks at <a href="http:&#x2F;&#x2F;mywiki.wooledge.org&#x2F;BashGuide" rel="nofollow">http:&#x2F;&#x2F;mywiki.wooledge.org&#x2F;BashGuide</a> which is definitely a valuable resource if you&#x27;re trying to learn Bash and its idiosyncrasies.<p>Another good resource is <a href="http:&#x2F;&#x2F;wiki.bash-hackers.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;wiki.bash-hackers.org&#x2F;</a>.
评论 #10738293 未加载
评论 #10739290 未加载
评论 #10738853 未加载
raboukhalilover 9 years ago
The first few chapters look very good, best of luck with the rest!<p>In case anyone here is interested in more reading material, I recently wrote a small book about Bash that could be helpful: <a href="https:&#x2F;&#x2F;gumroad.com&#x2F;l&#x2F;datascience" rel="nofollow">https:&#x2F;&#x2F;gumroad.com&#x2F;l&#x2F;datascience</a><p>To make sure it didn&#x27;t read like a manual, each chapter is an &quot;adventure&quot;, where I show how to use only command line tools to answer questions such as: What&#x27;s the average tip of a NYC cab driver? Is there a correlation between a country&#x27;s GDP and life expectancy? etc
评论 #10738903 未加载
sciurusover 9 years ago
If you want feedback on the quality of your shells cripts, shellcheck is a great tool. You can run it locally or use <a href="http:&#x2F;&#x2F;www.shellcheck.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.shellcheck.net&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;koalaman&#x2F;shellcheck" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;koalaman&#x2F;shellcheck</a>
评论 #10739125 未加载
stevebmarkover 9 years ago
This is an interesting project (I&#x27;m all for approachable learning) but it seems to be missing almost every chapter...maybe not ready for the spotlight?<p>Bash scripting and its array of tools is a poorly designed language. Writing a non-trivial program, even for an experienced developer, is a painful process. The syntax is uneven, hard to read, and easy to get horribly wrong. I would say mastering Bash has diminishing returns past the intermediary. Any time you need to write a non-trivial program, you will save time and life expectancy from stress management by using ANY other language, even Perl or C. Writing complex shell-modifying code in my .bashrc has been one of the more tedious and non-rewarding parts of my life.
评论 #10740749 未加载
评论 #10740164 未加载
desireco42over 9 years ago
This is much needed. We essentially have all this software we deal with daily and many people don&#x27;t know basic things about it, not just bash or zsh... and that is funny, people install zsh because it&#x27;s the thing to do, but you see that they don&#x27;t know why.
digital43over 9 years ago
It&#x27;d be cool to see some kind of interactive exercises like (Vim Interactive Guide) <a href="http:&#x2F;&#x2F;www.openvim.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.openvim.com&#x2F;</a> and (Git) <a href="https:&#x2F;&#x2F;try.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;try.github.io&#x2F;</a>
评论 #10737986 未加载
headcanonover 9 years ago
Thanks for making this! I wish I had a guide like this when I was starting out. Does anyone know if there is something like this for zsh? I&#x27;d imagine there would be a lot of similarities, but some notable differences.
评论 #10738695 未加载
peterwwillisover 9 years ago
Bash is incredibly useful, and I think more people should use it as a cross-platform default scripting language. That said, for the most compatible shell scripting, learn Bourne shell scripting. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bourne_shell" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bourne_shell</a>
评论 #10739075 未加载
massysettover 9 years ago
If you are writing functions in Bash, your task is probably sufficiently complex that it would benefit from being written in a language other than Bash.
评论 #10738755 未加载
评论 #10738628 未加载
评论 #10738252 未加载
评论 #10738366 未加载
评论 #10738486 未加载
评论 #10738188 未加载
评论 #10739286 未加载
评论 #10738339 未加载
评论 #10739204 未加载
wickchuckover 9 years ago
I know this is still a WIP, but I found the examples tough to read with colors chosen. Should add does look like a fantastic resource though!
babyover 9 years ago
Game doesn&#x27;t work
评论 #10737821 未加载
mirchada776over 9 years ago
<a href="http:&#x2F;&#x2F;play.bash.academy&#x2F;" rel="nofollow">http:&#x2F;&#x2F;play.bash.academy&#x2F;</a> is 404
评论 #10737794 未加载
ausjkeover 9 years ago
<a href="http:&#x2F;&#x2F;guide.bash.academy&#x2F;03.variables.html#toc7" rel="nofollow">http:&#x2F;&#x2F;guide.bash.academy&#x2F;03.variables.html#toc7</a> in this page those block-diagram looks nice, how is it made? some markdown enhancements like mermaid of plantUML?
评论 #10738784 未加载
dsugarmanover 9 years ago
In hopes that the creator does read this, it looks like a great resource but I can&#x27;t read the text, my eyes are very strained and I got a headache very quickly.
codemacover 9 years ago
Use rc instead. My life has gotten so much better since I gave up on other shells.<p><a href="http:&#x2F;&#x2F;tobold.org&#x2F;article&#x2F;rc" rel="nofollow">http:&#x2F;&#x2F;tobold.org&#x2F;article&#x2F;rc</a><p><a href="http:&#x2F;&#x2F;github.com&#x2F;rakitzis&#x2F;rc" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;rakitzis&#x2F;rc</a>
评论 #10740714 未加载
评论 #10739257 未加载
评论 #10739638 未加载
uxcnover 9 years ago
I&#x27;ve started trying to stick to dash syntax for shell scripts.
评论 #10740961 未加载
rootkeaover 9 years ago
I wish we&#x27;ll have assembly.academy someday. One of the poorly documented art as shell.
renloover 9 years ago
The site is unusable for me because of lag from the parallax. It&#x27;s always on.
zackifyover 9 years ago
We need the zshell academy
jonesb6over 9 years ago
I... really need this.
iamrootover 9 years ago
this is, for the most part, non-functional and incomplete
评论 #10737819 未加载
brianzelipover 9 years ago
Folks, it&#x27;s most likely the case that the author behind bash.academy did not post the link to HN, so ease up on the flames.<p>I for one am enjoying reading through the informative guide.<p>Nice job on the author for deploying Prose.io for community editing of the guide.
fazza99over 9 years ago
please test the site before releasing it.
giisover 9 years ago
Looking at the github page <a href="https:&#x2F;&#x2F;github.com&#x2F;lhunath&#x2F;bash.academy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lhunath&#x2F;bash.academy</a> Its been there for 2 years. and last commit was 3 months back.
评论 #10738021 未加载