The UNIX and Linux Forums
>
Special Forums
>
UNIX and Linux Applications
How to get a result of a cmd into variable?
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
How to get a result of a cmd into variable?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
03-06-2008
ramkrix
Registered User
Join Date: Dec 2007
Location: TamilNadu,INDIA
Posts: 46
It simple as follows if my understanding is write:
I think you wish to store the output in a variable in your shell script. If so, use this:
Var=`autostatus -G jpm_day_today`
ramkrix
View Public Profile
Find all posts by ramkrix