Search Results

Search: Posts Made By: d.f.
Forum: Solaris 01-24-2012
13,216
Posted By d.f.
aixlover, An x4150 is an x86 based...
aixlover,

An x4150 is an x86 based system, so it most likely comes with a video card. Most install scripts set the system to boot to its video console, in which case there is no output on...
3,389
Posted By d.f.
This might be a simple referencing issue, perhaps...
This might be a simple referencing issue, perhaps the shell is looking for an array called 'var' rather than your variable's value. Have you tried to explicitly dereference 'var'? :

print...
15,838
Posted By d.f.
If I understand this correctly, you're looking...
If I understand this correctly, you're looking for a way to make sure that the rsync completes successfully before moving on to the rest of your script. bash would allow you to do this with the '&&'...
5,249
Posted By d.f.
I'm sure its not this easy, but is it a direct...
I'm sure its not this easy, but is it a direct cut and paste of your code?


nawk -v pat="\}\"\'\."'


It looks like the last single quote is out of place...


nawk -v pat="\}\"\'\."
14,277
Posted By d.f.
Not sure how find behaves in AIX (or if this...
Not sure how find behaves in AIX (or if this counts as a "script"), but...

RESULTS = `find ./FILE/INB/INT[1-4] -type f | wc -l`
if [ $RESULTS gt 0 ] ; then
echo "There are $RESULTS files"...
59,224
Posted By d.f.
Isn't this the "preferred" way of doing...
Isn't this the "preferred" way of doing arithmetic in ksh and bash? I recall reading that it doesn't spawn a new shell like expr and bc.
Showing results 1 to 6 of 6

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