Skip to content

mnopi/bashrc

Repository files navigation

Bash Utils.

Install

Docker

docker pull kalilinux/kali:latest
apt update -y; apt full-upgrade -y; apt install -y kali-linux-everything
sudo python3 -m pip install --upgrade bashrc

With pip available

No python

sudo apt update -y; apt install python3.8 python3-pip -y
sudo python3 -m pip install --upgrade bashrc

With sudo in debian/kali or macos in bootstrap if brew not installed

sudo python3 -m pip install --upgrade bashrc

When brew installed:

python3 -m pip install --upgrade bashrc
rc up  # bashrc-install.sh <account_password> <internet_password> <force>

or:

rc up  # bashrc-install.sh

Upload & Upgrade

rebashrc

Update secrets (token, etc.) and ssh keys on source server and other servers

On the git source code server

Update the repository and:

rc secrets  # secrets-push.sh
rebash

On other servers

rc secrets  #secrets-pull.sh 
rebash

Other PyPi Projects Upload and Upgrade

On the git source code server

Perform any tests and:

rc up  # project-upload.sh <path> <major|minor> <j5pu|jose-nferx|pypi>

On other servers

project-upgrade.sh name