Skip to content

cvillegas/bash

Repository files navigation

Bash Scripts Collection

License: MIT

A collection of small but useful Bash scripts. I hope you find them helpful!


Scripts

oshi.sh

Uploads a file to the Oshi file-sharing service. The generated link is valid for 15 minutes.

Usage:

./oshi.sh <file_path>

Example:

./oshi.sh my_secret_file.txt

rot13.sh

Decodes text using the ROT13 cipher. ROT13 is a simple letter substitution cipher that replaces a letter with the 13th letter after it in the alphabet.

Usage:

./rot13.sh "<text_to_decode>"

Example:

./rot13.sh "ivfvg zl oybt uggcf://jjj.fynlrek.bet/"

shorturl.sh

Expands a shortened URL to reveal its destination, allowing you to check for malicious links.

Usage:

./shorturl.sh <shortened_url>

Example:

./shorturl.sh tinyurl.com/yaexp86y

tput_examples.sh

Demonstrates various uses of the tput command to enhance your Bash scripts with text formatting, colors, and cursor manipulation.

Usage:

./tput_examples.sh

Contributing

Contributions are welcome! If you have a script you'd like to add or an improvement to an existing one, please feel free to open a pull request.

License

This project is licensed under the MIT License

About

Some nice bash example scripts free to use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages