Skip to content

This repository primarily contains my bash (fish) helper functions which I'm using in my daily work or to simplify some jobs with shell script for example testing on Travis CI, etc...

License

Notifications You must be signed in to change notification settings

daggerok/bash-functions

Repository files navigation

bash-functions Build Status

This repository primarily contains my bash (fish) helper functions which I’m using in my daily work or to simplify some jobs with shell script for example testing on Travis CI, etc…​

note: expecting use sudeo without password prompt…​

build
bash gradlew clean build
usage
# install: curl bash sudo lsof...
# apt-get install -y --no-install-recommends curl bash sudo lsof
# yum install -y ....

# import finction into your bash shell
source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/main.bash)

# use any function (read next)

available functions

Yeah, by default I love sudo, sorry for that (:

stop_any

source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/src/stop_any.bash)
stop_any 22 80
source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/src/sudo_stop_any.bash)
sudo_stop_any 22 80
source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/src/non_sudo_stop_any.bash)
non_sudo_stop_any 10022 10080

wait_for

source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/src/wait_for.bash)
wait_for 22 80
source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/src/sudo_wait_for.bash)
sudo_wait_for 22 80
source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/src/non_sudo_wait_for.bash)
non_sudo_wait_for 10022 10080

About

This repository primarily contains my bash (fish) helper functions which I'm using in my daily work or to simplify some jobs with shell script for example testing on Travis CI, etc...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages