Search Results

Search: Posts Made By: pieman8080
Forum: Red Hat 05-23-2007
13,116
Posted By pieman8080
"No Drives Found" error during Redhat Linux AS 4 installation
I'm trying to install Redhat LInux AS 4 update 4 on an IBM x306 series server. I keep getting following error:
"No Drives Found. An error has occurred - no valid devices were found on which to...
Forum: Linux 09-26-2006
4,663
Posted By pieman8080
nfs errors
Trying to transfer a file from one server to another. It is real slow. Then i checked on the server receiving the file and noticed that there are a bunch of the following errors in the messages file...
20,665
Posted By pieman8080
thanks again. I actually had to do the following:...
thanks again. I actually had to do the following:

if [ `expr $timeweb - $timenow` -le $timediff ] && [ `expr $timenow- $timeweb` -le -$timediff ]
20,665
Posted By pieman8080
I think I figured out that the || should actually...
I think I figured out that the || should actually be && since I need both expresions to be true. But when I change it, I'm getting the following error on that line:

expr: syntax error
[:...
20,665
Posted By pieman8080
ok, so i thought this worked, but the test is...
ok, so i thought this worked, but the test is always passing, no matter what the time is. I tested it by making the "timenow" variable 4 hours from the current time and it doesnt' fail like it...
20,665
Posted By pieman8080
that worked! thank u both for your help. I'll let...
that worked! thank u both for your help. I'll let this run a few days and make sure it's stable.
20,665
Posted By pieman8080
I think i'm almost there. I modified my script...
I think i'm almost there. I modified my script like u said and i'm getting error:

./2test.sh: line 24: [: 20060908112001: unary operator expected

the line that is failing is:

if [ $timeweb...
20,665
Posted By pieman8080
thank u very much. i will try this and let u know...
thank u very much. i will try this and let u know the result.
20,665
Posted By pieman8080
need help with test condition in shell script
I'm new to scripting and I need help with a bourn shell script. What i'm trying to do is a test condition where "if the time is within 2 hours, it's true" and so on.

The time is in the following...
Showing results 1 to 9 of 9

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