Write a command-line and open its explainshell.com explanation in a browser automatically.
Works on Linux, macOS, and Windows in WSL2.
- Install
jq. You cansudo apt-get install jqorbrew install jq. - Copy
main.shinto some directory in yourPATH, e.g. probably~/.local/binor/usr/local/binor something. - Give yourself the permissions to run the script:
chmod u+x main.sh - Name the script something nice, like
wtf - Run it:
wtf tar -xzvf foo.tar.gz