Re:Show HN: A simple Go utility to ease deployments via SSH ...
by stevekemp2 on Saturday September 08, 2018 @07:45AM
(#17940490)
Adduser will fail a second time, and show "user already exists" or similar. We hide that via the redirect
In the readme (first section) you use, as an example, the command:
"Run adduser bob 2>/dev/null"
why do you add the "2>/dev/null" part? I see a lot of tutorial/guide/example/etc... do that! I understand what it does (send the stderr to devnull) but i don't understand why would i want to do that?