Talk:Bash programming

From Wikiversity
Jump to navigation Jump to search

I would like to recommend a great resource for learning Bash http://linuxcommand.org/

I haven't seen the better material than that, so I recommend you to contact the author and ask permission to just copy everything ;-)

Shell scripting[edit source]

Is this like shell scripting as in .sh files? --Devourer09 22:14, 17 January 2008 (UTC)

Yes. And I actually have a complaint that nothing here is bash-specific, this all applies to all sh-compatible shells, including sh, ksh, bash, zsh, and others. Shouldn't it be renamed "Shell scripting" or "Shell programming" instead of "Bash programming" unless there's bash-specific material. --Anonymous

keep it bash[edit source]

I believe it's better to be specific, i.e. this is bash. Why? while the number of useful bash features that aren't available in, say Ksh, and it's roots in just plain sh are similar, bash offers some features that are difficult to reproduce in other shells. Also, for the last half-decade (since 2010) it's become the pre-eminent shell. Any user enquiring about features because they are using another shell would do well to ask themselves "why can't i be in bash?"

while the linux resource may be thorough and authoritative, wiki guidelines suggest a careful edit of another source. But I like the idea of selective copy with the author's permission.

and ..., lastly, i favor a greater influence on the shell function, even ahead of the decision and looping constructs. to put my editorial comment's on this point here, the sh-bang construct, while cute, should be taught as the penultimate lesson, rather than the second lesson. I'll be addressing that here, using wiki standards.


Applemcg (discusscontribs) 19:37, 4 January 2016 (UTC)