Skip to content

ipapast/useful-shell-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

useful-shell-scripts

This repo includes simple scripts that can be re-used in the future.

How to run a script from any directory:

You will need to create a symlink to that file, e.g.:

sudo ln -s "{pwd}/my-script.sh /usr/bin/my-script"

Then you can run this from anywhere by typing:

my-script

Linting shell files

A useful tool is shellcheck which lives in this repo https://github.com/koalaman/shellcheck If you install it locally on your laptop you will be able to use it for linting shell files on the go or by running shellcheck my-script

Testing shell files

https://github.com/bats-core/bats-core

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages