Skip to main content

Create, use and share bashs commands

Project description

b4sh

Create, Use and share bash commands easily.

Requirements

  • python (3.x recommend)

How to install

pip3 install b4sh

How to use

# To install nginx for example !
b4sh -g nginx_debian_3ee
# This command will run
sudo apt update
sudo apt install nginx
sudo service nginx status

# For a custom command
b4sh -g vim_445te
# This will run :
apt update
apt install wget unzip
echo "[+] Getting vim..."
wget "http://www.vim.org/scripts/download_script.php?src_id=11834" -O vim.zip
echo "[+]  Unzipping the vim zip..."
unzip vim.zip
echo "[+] Deleting the zip"
rm vim.zip

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

b4sh-0.0.5.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

b4sh-0.0.5-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page