date +'%Y-%m-%d' 2023-02-28 date --date='2 days ago' +'%Y-%m-%d' 2023-02-26 date +'%s' 1677607151...
start_time=$(date +'%s') sleep 5 end_time=$(date +'%s') total_time="$(echo $((end_time-start_time...
Find directories and delete recursively find /path/ -mtime +7 -type d -exec rm -rf {} + Find file...
Uppercase VAR="vaRiAbLe" echo "Uppercase ${VAR^^}" VARIABLE Lowercase echo "Lowercase ${VAR,,}" ...
A collection of (!)useful chunks to get things done..
Working with the API Get CSV of all open issues on instance #!/bin/bash TOKEN=get_your_token URL=...
Working with remote APIs Check status of a website that is locked behind an authorization cookie....