Originally published at: https://www.whonix.org/blog/use-not-use-one-liners-question
Writing post https://forums.whonix.org/t/tor-bootstrap-progress/4801/22 and earlier made me wonder… Is it better to write One-Liners or separate lines?
In absence of a really well designed solution with respect to usability, in my experience, users often love in order to archive their actual goals to use one liners rather than lengthy commands. Example (don’t use this without understanding the context):
sudo su && systemctl stop tor@default && cd /var/lib/tor && git config --global user.email "email@example.com" &&git config --global user.name "Your Name" &&git add * && git commit -a -m .
The disadvantage here is the users learns very little. It looks complicated. Most give up reading before even trying. Then blindly copy and paste. Blindly copying, pasting and running commands from websites on the internet is not something to be encouraged since that could get one compromised.
systemctl stop tor@default
Change directory into Tor’s state folder.
And so forth. However, this makes it look much more complicated. Also will be more time consuming.