Just a hodgepodge of shell utilities that I'll likely use in various places.
Go to file
colin 652c220b6c Update src/include.d.sh 2024-12-09 16:05:59 -05:00
src Update src/include.d.sh 2024-12-09 16:05:59 -05:00
README.md Update README.md 2024-10-01 10:46:39 -04:00
install.sh Update install.sh 2024-07-21 13:04:44 +00:00
sum.sh added sha sums for verifiable updates via salt 2024-07-25 17:41:18 -04:00

README.md

Shell Utilities Installation

This repository provides utilities for managing Docker Swarm and other Docker-related tasks. The install.sh script can be used to download and install any specified shell script from this repository into /etc/profile.d/.

Installation

To install a script, run the following command:

curl -s https://git.nixc.us/colin/shell-utils/raw/branch/main/install.sh | sudo bash -s <script-name>.sh

Example

To install the dockerutils.sh script using the one-liner:

curl -s https://git.nixc.us/colin/shell-utils/raw/branch/main/install.sh | sudo bash -s dockerutils.sh

Generating SHA-256 Hashes for Shell Scripts

The sum.sh script in this repository generates SHA-256 hashes for all .sh files in the src directory and saves them as .sha256 files.

Usage

Run the following command to execute the script:

./sum.sh

The hashes will be saved in corresponding .sha256 files next to each .sh file in the src directory.