• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

nixawk/hello-bash: Bash scripting tutorial

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

nixawk/hello-bash

开源软件地址:

https://github.com/nixawk/hello-bash

开源编程语言:

Shell 84.4%

开源软件介绍:

Bash (Unix shell)

Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell. First released in 1989, it has been distributed widely as it is a default shell on the major Linux distributions and on OS X.

No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes. -- Herbert Mayer

A working knowledge of shell scripting is essential to anyone wishing to become reasonably proficient at system administration, even if they do not anticipate ever having to actually write a script.

A shell script is a quick-and-dirty method of prototyping a complex application. Getting even a limited subset of the functionality to work in a script is often a useful first stage in project development. In this way, the structure of the application can be tested and tinkered with, and the major pitfalls found before proceeding to the final coding in C, C++, Java, Perl, or Python.

Shell scripting hearkens back to the classic UNIX philosophy of breaking complex projects into simpler subtasks, of chaining together components and utilities. Many consider this a better, or at least more esthetically pleasing approach to problem solving than using one of the new generation of high-powered all-in-one languages, such as Perl, which attempt to be all things to all people, but at the cost of forcing you to alter your thinking processes to fit the tool.

According to Herbert Mayer, "a useful language needs arrays, pointers, and a generic mechanism for building data structures." By these criteria, shell scripting falls somewhat short of being "useful." Or, perhaps not. . . .

Hello Bash

If you want to read Bash source code, please access http://ftp.gnu.org/gnu/bash/.

$ /bin/bash
$ echo $BASH
/bin/bash

References

Bash Scripting Tutorial
Bash Programming How-To
Bash Beginners Guide Advanced Bash-Scripting Guide




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Aralhach/bashobfus: A small bash minifier/obfuscator written in Perl.发布时间:2022-04-15
下一篇:
Sponsor @tillig on GitHub Sponsors · GitHub发布时间:2022-04-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap