Code Monkey home page Code Monkey logo

libbash.sh-pruje's Introduction

libbash.sh

A Bash library that features common functions useful for Bash developpers.

Tired to search the web any time you don't know or remember how to do a basic action in a bash script? Just include libbash.sh to your script and use the functions!

libbash.sh features more than 60 functions to:

  • test if a program is installed
  • search a value in an array
  • ask user to confirm an action by yes or no
  • print text in colours
  • create and write log files
  • ask user to enter and confirm a password
  • read and write into config files
  • ...

libbash.sh comes also with a GUI part with 15 functions to:

  • display info/warning/error messages
  • display system notifications
  • ask user to choose a file/directory
  • ...

See documentation for more info.

libbash.sh is compatible with Linux, BSD and macOS systems and works on Windows with Cygwin.

Read our wiki for some tips and tricks and other resources.

Usage

Add libbash.sh to your script:

source "/path/to/libbash.sh" -

That's all! To use more powerful features like interactive windows, please read the documentation.

Documentation

Examples

License

libbash.sh is licensed under the MIT License. See LICENSE.md for the full license text.

Credits

Author: Jean Prunneaux https://jean.prunneaux.com

Website: https://github.com/pruje/libbash.sh

Help us to improve libbash.sh in submitting issues to report a bug or request new features!

libbash.sh-pruje's People

Contributors

pruje avatar

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.