![]() |
|
|
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 |
| storing result of a command in variable | eltinator | Shell Programming and Scripting | 1 | 04-17-2008 09:09 PM |
| How to get a result of a cmd into variable? | manchau | UNIX and Linux Applications | 1 | 03-06-2008 07:36 AM |
| Problem storing SSH result in a variable | prash184u | Shell Programming and Scripting | 1 | 01-17-2008 04:41 PM |
| populate variable from remote result | hcclnoodles | Shell Programming and Scripting | 2 | 02-19-2007 05:44 AM |
| Setting a variable to result of FIND command | JP Favara | Windows & DOS: Issues & Discussions | 2 | 03-09-2005 10:17 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
cree a variable from a commande result
Hi everybody
I m looking the put the result of a commande to a Variable i explain here is my command: cat sortie | grep "^[1-9999]"| awk '{ print $1}' 15 sortie is a text file I want to put the result of command in a variable X and the end i would like echo $X 15 I hope you understand what i want to do, sorry for my english I m french Last edited by kykyboss; 11-13-2006 at 10:38 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|