Skip to content

Some Bash shell snippets, with functions and utilities that I use frequently in my scripts.

License

Notifications You must be signed in to change notification settings

hurlibuz/shell-snippets

 
 

Repository files navigation

shell-snippets

Sample Bash scripts that follow best practices learnt from a variety of sources.

Sources

These are some good resources with tips on how to write good-quality shell scripts:

It is wise to follow the recommendations of more experienced players, because they have already fought some battles that you still haven't even anticipated:

I also like a couple of pages with examples and description of common errors that Bash programmers make:

Last but not least, always use this tool to verify your scripts: ShellCheck. It can be installed as a plugin in lots of text editors and IDEs.

Happy coding!

About

Some Bash shell snippets, with functions and utilities that I use frequently in my scripts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%