Linux
Fix unknown terminal type
You may get this error when running certain commands (for me it was clear) when ssh'ing into a fresh Linux install.
Get the exact terminal name specification --
echo $TERM.Copy over the right file from
/usr/share/terminfoto the same directory onthe fresh VPS box.
Simple Bash loop over files that match some RegEx
for f in *.jpg; do convert ./"$f" -resize 30% ./resized/"$f"; doneLast updated