Skip to content
Miscellaneous Bash scripts that I've created and found useful over the years
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
README.md
license.md

README.md

Bash Scripts

Miscellaneous Bash scripts that I've created and/or found useful over the years

Scripts

  • +x.sh - Make a script executable.
  • batt.sh - A quick little indicator for battery status on your Mac laptop.
  • cdf.sh - Change working directory to the top-most Finder window location.
  • decom.sh - Decompress just about any archive (Zip, Tar, 7z, etc.) with a single command.
  • dns-flush.sh - Flush DNS cache (See: http://support.apple.com/kb/ht5343).
  • dnstest.sh - Tests DNS providers to determine which is fastest.
  • extract.sh - Quickly decompress archives of all types.
  • ifactive.sh - Quickly display all active network adapters.
  • ip.sh - Show IPv4 address for interface en0.
  • ipe.sh - Show external IPv4 address for interface en0.
  • makepass.sh - Super easy way of generating a random 20 character password.
  • raspi_dupeip.sh - Fixes the duplicate IP issue seen on the Raspberry Pi.
  • raspi_update.sh - Raspbery Pi: Checks for updates, upgrades the OS, and installs the latest firmware.
  • sparse.sh - Mounts a sparsebundle disk into the supplied path.

Installation

  1. Download script(s).
  2. Make script(s) executable by running chmod +x script_name.
  3. Copy script to /usr/local/bin.
  4. Profit.

Author

Created by Patrick H. Mullins. You can find me on Twitter and on Telegram as @pmullins.

License

Source is released under the MIT License (MIT) license.

You can’t perform that action at this time.