Linux Shell Scripting Tutorial v2.0(18)

2020-12-16 13:03

References

[1]Command to find out current shell name (http://www.77cn.com.cn/tips/how-do-i-find-out-what-shell-im-using.html) from the nixCraftFAQ section.

Unix philosophy

The Unix philosophy is philosophical approaches to developing software based on the experience of leadingdevelopers of the Unix operating system. The following philosophical approaches also applies to Linux operatingsystems.

Do one thing and do it well - Write programs that do one thing and do it well. Write programs to work together.Write programs to handle text streams, because that is a universal interface.

Everything is file - Ease of use and security is offered by treating hardware as a file. small is beautiful

Store data and configuration in flat text files - Text file is a universal interface. Easy to create, backup and movefiles to another system.

Use shell scripts to increase leverage and portability - Use shell script to automate common tasks across variousUNIX / Linux installations.

Chain programs together to complete complex task - Use shell pipes and filters to chain small utilities thatperform one task at time.

Choose portability over efficiency. Keep it Simple, Stupid (KISS).

External links

Wikipedia:Unix philosophy

The Unix Philosophy in One Lesson [1]

References

[1]http://www.77cn.com.cn/~esr/writings/taoup/html/ch01s07.html


Linux Shell Scripting Tutorial v2.0(18).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:预防艾滋病主题班会

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: