bash-2.05$ vi recover.sh
Terminal too wide
:q
1 more file to edit:q
bash-2.05$ exit
logout
bash-2.05# stty -a
speed 9600 baud;
rows = 58; columns = 177; ypixels = 0; xpixels = 0;
csdata ?
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^/; erase = ^?; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff -parext
-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
bash-2.05# stty columns 132
bash-2.05# su - oracle
bash-2.05$ vi recover.sh
"recover.sh" [New file]
#/bin/sh
sqlplus "/as sysdba" <<!
recover automatic from '/bak' standby database;
cancel
exit
!