Skip to main content
snippets
S
nippets
tag:
bash
Check if a Command Exists
Shell
1 year ago
bash
commands
which
help command
Shell
1 year ago
bash
commands
examples
help
linux
Download with Retry
Shell
1 year ago
bash
curl
http
retry
jobs command
Shell
2 years ago
bash
commands
examples
jobs
Validate a URL in Bash
Shell
2 years ago
bash
functions
helpers
regex
url
validation
declare command
Shell
3 years ago
array
bash
declare
variable
Using Here Documents in Bash
Shell
3 years ago
bash
examples
here-document
Sublime Text Build System for Bash Scripts Running in the WSL
JSON
3 years ago
bash
buildsystem
sublimetext
ubuntu
windows
wsl
Remove Whitespace and Newline Characters in Bash
Shell
3 years ago
bash
functions
newline
strip
tr
trim
whitespace
How to Avoid Leaving a Secret in Bash History
Shell
3 years ago
bash
secrets
security
terminal
Collapse Whitespace in Pure Bash
Shell
3 years ago
bash
collapse
trim
utils
whitespace
paci command
Shell
3 years ago
bash
commands
examples
linux
paci
package-manager
ubuntu
URL Encode and Decode Values in Bash
Shell
3 years ago
bash
functions
url
url-decode
url-encode
utils
Base64 URL Encode in Bash
Shell
4 years ago
base64
base64url
bash
decode
encode
functions
jwt
url
Bash Script to Retry Command on Failure
Shell
4 years ago
bash
error
helpers
retry
utils
Generate and Store an API Access Token in Bash
Shell
4 years ago
access
access-token
api
authentication
authorization
base64
bash
bearer
curl
jq
restful
token
shift command
Shell
4 years ago
arguments
bash
options
shift
Convert JSON Files to YAML, and Vice Versa
Shell
4 years ago
bash
convert
file
format
json
pyaml
python
yaml
.NET Format Bash Wrapper Script
Shell
4 years ago
bash
ci
dotnet
dotnet-cli
dotnet-format
dotnet-tool
format
linter
wrapper
Show a Spinner for Long Running Tasks in Bash
Shell
4 years ago
bash
spinner
utils
1
2
3
4
5
6
»
More »