Create safety mechanisms for critical commands using interactive bash prompts
Topic: Bash โ Page 8
Auto-respond to confirmations in CLI tools can be tricky but I learned a few ways how to deal with them.
[ is an actual bash command. Looks weird? Tell me about it...
Zeke Sikelianos recently shared a tweet the describes the
tee
command which I've never heard of. It can be used to write data to files and continue piping it to something else.I learned about the power of the UNIX cat command combined with stdin.