![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
help ssh
My below code is erroring out and i am not able to fix it.. could any one help please.
SERVER="ABCdb01" USER="ABC" OUT="out_${USER}@${SERVER}.log" typeset -x ARG=$1 print -u2 "OK :log = ${OUT}" print -u2 " " print -u2 "${SERVER} with user ${USER}" ORACLE_SID="ABC" DBCOMM="\". ./.profile; sqlplus -s \"/as sysdba\"" shut_db () { ssh ${USER}@${SERVER} ${DBCOMM} << EOF shutdown abort startup restrict shutdown immediate EOF" return $? } |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|