Trinity from Matrix hacking on the Linux commandline

💻 Linux CLI Reminder 👩‍💻 📺 🐧

I find myself Google-ing for command-line fu a lot more than I should, here are some favourites… rsync with ssh Although this should be the default by now, really, who trusts the defaults? Manage it yourself with something like this: rsync -avP -e "ssh -i ssh_key_file -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" /home/jas/local-dir/* remote-user@webhost.com:/home/server/www/yourdomain.com/ Rainbow Shell Prompt Put this in .bashrc or wherever is appropriate for your OS: export PS1="\[$(tput bold)\]\[$(tput setaf 1)\]\u\[$(tput setaf 208)\]@\[$(tput setaf 3)\h\[$(tput setaf 2)\]:\d \[$(tput setaf 4)\]\@:\[$(tput setaf 55)\]\w\n$PROMPT_COLOR\$ \[$(tput sgr0)\]" YouTube-dl on Linux Obtain it from here: https://github....

February 10, 2022 · 5 min · Jas