Hi,
I'm trying to parse a load of text and have a string that contains the following "if endurance_percent < 50".
There's loads of these lines that I need to check, but what I need to do is evaluate if the line would be true or false, so if the string X contained the above, is there...
The following is part of a script I'm writing. With this code in I get the above error (read thread title). I've read through this many times and can't find the problem - it's definately in this piece of the code, as if I remove this piece it works fine - any suggestions ??
Code
----
if...
I'm sure there's an easy way to do this....
I have a variable, lets call it $var1..
$var1 = "$var2 < 50". Another variable called $var 2...
$var2 = 25....
Is there anyway to do a line like,
if $var1 then ......
so that it substitues for the contents of $var1 and does something like...
Hi all,
I've setup a NIS server and all seems to be running ok, EXCEPT .......
I can't change a password for a user using either passwd or yppasswd !! I've tried on all clients, and even the server... Am logged in as root, but after typing the new password and confirming it I get -
passwd...
Hi,
I have a disk thats been newfs'd and I need to check if it's faulty or not.
Ideally I need to write a script to create a large file (about 4gb) and then delete it, and then loop the process.
Any ideas of the best way to create the large file ???
Many thanks,
Darren
Hi all,
I'm not too familiar with AIX (Sun man ;).
I need to change the MBUFS environment variable using SMIT, but the system is live and I don't want to cause a reboot. Is this needed for the setting to take effect ??
Many thanks
Darren
Hi all,
I've recently upgraded an E4000 from Solaris 2.6 to 8. We've had a lot of issues performing the upgrade but it's finally back with Solaris 8, but I keep getting the recurring error 'couldn't set locale correctly' !!!
Any ideas ???
Throughout the installation process (which I've done...
Hi all,
I've recently upgraded an E4000 from Solaris 2.6 to 8. We've had a lot of issues performing the upgrade but it's finally back with Solaris 8, but I keep getting the recurring error 'couldn't set locale correctly' !!!
Any ideas ???
Throughout the installation process (which I've done...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.