Monday, October 11, 2010

Syntax to run the batch file in UNIX BOX

sh yourfilename.sh

Lets say I have a file called startProcess.sh in my unix box.

we should run the above file like sh startProcess.sh thats all our process is started.

suppose some one has the file with the file name as stopProcess.fg in their unix box

so he can run the above file like sh stopProcess.fg


along with this if you want to create a backup we have to use mv soucefile backupfilename thats all

No comments:

Post a Comment