Linux / OS X - shell scripting with sudo
January 29th, 2009
Ever need to create a shell script and use the sudo command? here is how you do it:
read $passwd
echo $passwd | sudo -S touch test
Thoughts and Ramblings on Life
Ever need to create a shell script and use the sudo command? here is how you do it:
read $passwd
echo $passwd | sudo -S touch test
Leave a Reply