Bash Unsorted commands
Remove 1st character of a variable: var=${var:1}
Concatenate 2 variables: var1="${var1};$var2"
Remove specific char from a variable (here “): var=${var//\"}
recursively find the latest modified file in a directory: find . -type f -printf '%T@ %p\\n' | sort -n | tail -1 | cut -f2- -d" "
Show everything after a PATTERN: sed -n -e 's/^.\*PATTERN//p'
Same but remove all spaces: sed -n -e 's/^.\*stalled: //p'
Get http status code of an url: curl -o /dev/null --silent --head --write-out '%{http_code}\\n'