Search Results

Search: Posts Made By: joker_789us
Forum: Hardware 04-29-2013
7,032
Posted By joker_789us
ATI Radeon HD 7450 DP Linux driver
I'm looking for Linux driver for ATI Radeon HD 7450 graphics card. The OS I'm using is RHEL5.7 server. The desktop is HP compaq elite 8300 SFF.

Couldn't find it in hp.com support website. ...
19,651
Posted By joker_789us
Thank you everyone for your feedback/help. The...
Thank you everyone for your feedback/help. The code works.
19,651
Posted By joker_789us
grep data on 2nd line and 3rd column
How do I grep/check the on-hand value on the second line of show_prod script below? In this case it's a "3".

So if it's > 0, then run_this, otherwise, quit.

> ./show_prod
Product Status ...
6,836
Posted By joker_789us
Great! it works. Thanks to Jairaj and Vino.
Great! it works.
Thanks to Jairaj and Vino.
6,836
Posted By joker_789us
I tried that before. it will run the "do_that"...
I tried that before. it will run the "do_that" part, instead of "do_this".
If I add a line after "do_that" e.g. echo "$st", I got "cat /home/state" (without the double quote).


> ./myscript1...
6,836
Posted By joker_789us
How do I get/compare the $st value, in "if-then"...
How do I get/compare the $st value, in "if-then" statement?

> cat myscript1
#!/bin/sh
st='cat /home/state'
if [ $st == "CA" ]
then
do_this
else
do_that
fi
6,836
Posted By joker_789us
How to put output of one command into a variable
Hi,
Let say I have these 3 files (state, list and myscript). I want to be able get the sample output like below when I run myscript. Any one know how to fix the code? TIA.


~~~~~~~~~~~~~~~
...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 10:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy