Skip to content

Pixailz/lib_bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lib_bash

My library for bash scripts / progams

How to install

CLI

bash -c "$(curl -sL https://bit.ly/lib_bash)"

In script

# install lib_bash
DIR_LIB_BASH="${HOME}/.local/lib/lib_bash"
[ ! -d "${DIR_LIB_BASH}" ] && \
	bash -c "$(curl -sL https://bit.ly/lib_bash)"

# source .config
[ ! "${LIBBASH_SOURCED}" ] && . "${DIR_LIB_BASH}/.config"

# test if work, in this case update lib_bash
cli::update

Rules of the lib

1. each function must be commented like this template 2. each part of the lib have is own include file AND can be included multiple times 3. for more details on each function of the lib, test dir is here to help you

TODO

  1. rewrite how parsing work
  • should use getopt in a while loop
  1. rewrite how print work
  • from now this is just printing char one by one, the goal is to have a buffer

ANDROID

FULL STEP, FOR A WEAPONIZED PHONE

  1. install twrp
  2. install system
  3. boot, and do install "Welcome" page
  4. reboot to twrp
  5. install magisk
  6. install nethunter

TODO

  1. build nethunter package for android 13 lineage

About

My library for bash scripts / progams

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages