![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FIND returns different results in script | blt123 | Shell Programming and Scripting | 6 | 04-26-2008 12:55 AM |
| Works from bash prompt, but not from script! | siegfried | Shell Programming and Scripting | 7 | 02-10-2008 02:56 PM |
| Command prompt from within a script? | sanitywonko | Shell Programming and Scripting | 1 | 04-25-2005 04:11 PM |
| script to go to a different dir to run a commandline prompt in that dir | ann_124 | Shell Programming and Scripting | 2 | 11-29-2004 02:25 PM |
| script to change shell and prompt | SHYAM | Shell Programming and Scripting | 1 | 06-27-2004 09:46 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
script returns prompt
Hi,
I am trying to create a script that will loop through my oratab file and pull out the instance name. Here is script: for instance in $(cat /etc/oratab|egrep ':N|:Y'|grep -v \*|grep -v \#|cut -f1 -d':') do echo Instance $instance is in the oratab echo $ORACLE_HOME done From what I can tell, it starts another process, why? Then it returns my prompt with no echo output to screen. Then I have to kill the process, now my output shows up after its killed. What am I missing here? Thanks, Kathy |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|