![]() |
|
|
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 |
| Basic Linux Shell Scripting for Oracle DBAs | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 06:10 AM |
| Shell scripting basic doubt | sendhilmani123 | Shell Programming and Scripting | 3 | 08-04-2006 07:07 AM |
| Shell Scripting Question | tech2040 | Shell Programming and Scripting | 3 | 08-10-2005 02:32 AM |
| Shell Scripting Question | tech2040 | Shell Programming and Scripting | 1 | 08-09-2005 03:34 AM |
| What is a good place to learn basic shell scripting? Thanks! | deutchap6verse5 | Shell Programming and Scripting | 2 | 03-08-2005 02:55 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
basic shell scripting question
If I did indeed grep something out of it, why woudln't $result show nothing?
When I do $? , it does show success... What is the proper syntax so that $result shows actual thing it's grepping out? result=`(ssh $host tail -1 /something/somethingelse) | egrep -i "value" >dev/null` #echo $result # #echo $? #0 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|