yes u can use the same commands that u use in shell. But u have to set oracle's environment variables in the script.