Coder Social home page Coder Social logo

bash-starter's Introduction

简单的 SHELL 脚本模板

这是一个最简 SHELL 脚本的模板,如果需要自己写 SHELL 脚本的时候,可以基于这个来写,里面有基本的脚本解构,网上找的,我加了点注释。

注:原作者可能会继续优化。

其他

正向作者文中说的,很多程序员职业生涯中都会需要写BASH脚本,但是因为没有重视过,所以每次都像是重新学,或者根本不学就急着写业务脚本了,常规需求的代码模板可以提高响应速度,并且减少写脚本的心智负担以及避免一些低级错误,而且模板代码本身也是一个学习的入口。

这个代码暂时不是我写的,但网上其实有很多个版本的 shell 脚本模板,希望随着了解的加深,我以后可以写出一个带着自己理解的脚本模板。

bash-starter's People

Contributors

vipzhicheng avatar

Stargazers

nick.du avatar

Watchers

James Cloos avatar  avatar

Forkers

nickdu2009

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.