Search Results

Search: Posts Made By: Abstract3000
3,062
Posted By Abstract3000
uname -v
uname -v
3,062
Posted By Abstract3000
Thanks for taking the Time in explaining that for...
Thanks for taking the Time in explaining that for me. I tried a simple command that told me the version was 3, but I don't believe that is specific enough so I will give that a shot when I'm back at...
3,062
Posted By Abstract3000
i=0 while [[ $i -lt ${#HOSTS[@]} ]]; do set -A...
i=0 while [[ $i -lt ${#HOSTS[@]} ]]; do set -A FS$i $(ssh ${HOSTS[i]} "stat -c%s ${FILES[@]}") ((i++)) done


Is this not the problem for ksh? I will have to give that a shot.


set -A...
3,062
Posted By Abstract3000
So messing around with both Methods I have come...
So messing around with both Methods I have come to find out that "Stat" does not work with the Version of AIX I'm on but Instead I must use "wc"
So I have improvised on the line

set -A FS$i $(ssh...
3,062
Posted By Abstract3000
Thanks for the other approach, I really...
Thanks for the other approach, I really appreciate you both taking the time to give an example, I am going to play around with both of these and see what I can come up with :)
3,062
Posted By Abstract3000
Thanks for the feedback and option, Though being...
Thanks for the feedback and option, Though being very new this that code is a bit over my head so I'm currently Dissecting it right now to try and get a better understanding as to what exactly is...
3,062
Posted By Abstract3000
I appreciate the advice, I was kind of thinking...
I appreciate the advice, I was kind of thinking the same thing myself while looking at it that I needed some sort of for loop to iterate through the servers executing the same command while storing...
3,062
Posted By Abstract3000
ksh scripting SSH to Compare File Sizes
Hello,
I currently have very little experience with Shell scripting and trying to create a script for the purpose of collecting the size of a couple sizes on 4 different Hosts. The Idea is to...
Showing results 1 to 8 of 8

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