TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Bash Academy

349 点作者 obeid超过 9 年前

24 条评论

alexis-d超过 9 年前
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 未加载
raboukhalil超过 9 年前
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 未加载
sciurus超过 9 年前
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 未加载
stevebmark超过 9 年前
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 未加载
desireco42超过 9 年前
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.
digital43超过 9 年前
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 未加载
headcanon超过 9 年前
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 未加载
peterwwillis超过 9 年前
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 未加载
massysett超过 9 年前
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 未加载
wickchuck超过 9 年前
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!
baby超过 9 年前
Game doesn&#x27;t work
评论 #10737821 未加载
mirchada776超过 9 年前
<a href="http:&#x2F;&#x2F;play.bash.academy&#x2F;" rel="nofollow">http:&#x2F;&#x2F;play.bash.academy&#x2F;</a> is 404
评论 #10737794 未加载
ausjke超过 9 年前
<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 未加载
dsugarman超过 9 年前
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.
codemac超过 9 年前
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 未加载
uxcn超过 9 年前
I&#x27;ve started trying to stick to dash syntax for shell scripts.
评论 #10740961 未加载
rootkea超过 9 年前
I wish we&#x27;ll have assembly.academy someday. One of the poorly documented art as shell.
renlo超过 9 年前
The site is unusable for me because of lag from the parallax. It&#x27;s always on.
zackify超过 9 年前
We need the zshell academy
jonesb6超过 9 年前
I... really need this.
iamroot超过 9 年前
this is, for the most part, non-functional and incomplete
评论 #10737819 未加载
brianzelip超过 9 年前
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.
fazza99超过 9 年前
please test the site before releasing it.
giis超过 9 年前
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 未加载