Pages with tag Shell Scripts

How to install Basher, the shell script package manager for Linux, Mac OS X, etc Basher is a package manager for shell scripts, meaning it simplifies the process of installing software tools implemented using the Bourne Again Shell (a.k.a. Bash). In the past authors of such tools might have been required to get their tool registered with the Debian package manager, or some other OS-level package management system. With Basher, there's no registration with a central authority. Instead packages distributed using Basher are simply Github repositories with certain characteristics.
Make a bash script detect the directory it's stored in, to access data there

You may need to write a bash shell script that accesses data stored alongside the script, while your current working directory might be elsewhere. In my case the shell script needed to use Node.js scripts stored next to the shell scripts -- the shell script acting to simplify running the Node.js scripts. The "data" to be accessed in this case is the Node.js scripts, plus the support modules required to run them. You may have other data like a list of hostnames or who-knows-what.