/bash-wtf

A command for when you have no idea wtf just happened

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

bash-wtf

A command for when you have no idea wtf just happened

Installation

Run the following commands to install the wtf command on your machine:

  1. git clone https://github.com/cheesits456/bash-wtf.git
  2. cd ./bash-wtf
  3. sudo ./wtf.sh --install

After the installation completes, you can safely delete the cloned repo if you wish:

  1. cd .. && rm -rf ./bash-wtf

Removal

If you wish to remove the wtf command from your system, simply execute the following in a terminal:

  • sudo wtf --uninstall

Usage

wtf [options]

Options:

  • -e, --edit: Open your user-specific config in nano
  • -h, --help: Display help message and exit
  • -i, --install: Install the 'wtf' command globally
  • -r, --reset: Reset your user-specific config to default
  • -u, --uninstall: Remove the globally installed command
  • -V, --version: Display version information and exit

Examples

Help Example

Command Example