osx - Autofill password in one command on Mac -
how autofill root password in single command on mac? want run following command computer not sleep while downloading, computer shutdown.
i run following still prompted password
$ caffeinate -u -t 7200 && echo | sudo -s shutdown -h now
Comments
Post a Comment