How to run sh script in Linux
601372Sep 4 2008 — edited Sep 8 2008*#!/bin/sh*
*# Exporting Entire Oracle Database backup*
export ORACLE_BASE=/home/oracle/oracle
export ORACLE_HOME=export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
export ORACLE_SID=ORCLDB
filename='FULL_'
v_date="`date +%Y%m%d`"
echo 'Exporting Entire Oracle Database ....'
*${ORACLE_HOME}/bin/exp <userid>/<password> full=y file=${filename}${v_date}.dmp log=${filename}${v_date}.log*
echo 'Transferring the Oracle Export Dump file to Remote location ....'
*smbclient //testaw/NewFolder -U arl_domain/asadnawaz%asad -c "put ${filename}${v_date}.dmp"*
on running this script
[oracle@DB10G ~]$ sh dmp.sh
: command not found
: command not found
Exporting Entire Oracle Database ....
dmp.sh: line 11: userid: No such file or directory
: command not found
Transferring the Oracle Export Dump file to Remote location ....
: command not found
Domain=[ARL_DOMAIN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
FULL_ does not exist
: command not found
: command not found
[oracle@DB10G ~]$
Any Suggestions Pls