![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Questions on shell execution | stevefox | Shell Programming and Scripting | 6 | 11-20-2007 04:06 AM |
| Sequential execution in shell script? | chengwei | UNIX for Dummies Questions & Answers | 6 | 03-30-2007 12:10 AM |
| Scheduling the execution of a shell script | sumesh.abraham | Shell Programming and Scripting | 1 | 12-06-2006 07:25 AM |
| Logging OWB mapping execution in Shell script | npn | Shell Programming and Scripting | 1 | 11-16-2006 09:25 AM |
| execution of shell script | malaymaru | Shell Programming and Scripting | 5 | 06-13-2005 09:49 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi All,
i am running a shell script in which there is a command `ps -ef | grep smon > db` When i execute this command in the command prompt i am getting the desired output..but when the script is executed..the db file is getting created but with no values...I could not find the reason for it. Please help. This is really urgent . Thanks in Advance Anju |
|
||||
|
Quote:
just remove backticks and try. if you are storing it in a variable then just remove the redirection part. ![]() |
|
||||
|
Try this..
ps -ef|grep "smon" >db or ps -ef|grep smon >db |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|