On Tue, Apr 5, 2011 at 8:41 PM, etika ahuja <[email protected]> wrote: > hey > > i want to automate my tasks of administrator using shell scripts > like changing owner of a file which usually only the super user (which > requires password we do using sudo )can change > i want to do this thing using shell script how to do?
If you want to run some commands, then you can copy-paste those commands in a file and run $bash ./file-which-has-commands This will execute all command, now you can learn * for loop * if loop * variables in bash script, and then you can write your script,, if you know how to work on bash terminal prompt then you can write bash scripts too, Just Do It -- LUG@IITD - http://lug-iitd.org/Footer
