Dup4 / bash-script-snippet

Commonly used shell script snippet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash Script Snippet

Shellcheck

Commonly used bash script snippet.

Usage

# cdn.jsdelivr.net
bash <(curl -s -L https://cdn.jsdelivr.net/gh/Dup4/bash-script-snippet@latest/${script}.sh) ${your args}

# raw.github
bash <(curl -s -L https://raw.githubusercontent.com/Dup4/bash-script-snippet/main/${script}.sh) ${your args}

# You can make a function
function bs() {
    script_name="${1}"
    bash <(curl -s -L https://raw.githubusercontent.com/Dup4/bash-script-snippet/main/${script_name}.sh) "${@:2}"
}

License

MIT License © 2021 Dup4

About

Commonly used shell script snippet

License:MIT License


Languages

Language:Shell 100.0%