Search Results

Search: Posts Made By: audis$
Forum: AIX 12-07-2011
2,446
Posted By Corona688
If ssh is trying to read from stdin for some...
If ssh is trying to read from stdin for some reason -- it shouldn't, but your implementation may be different than mine -- it may 'eat' the lines being redirected into the loop. Try this: while read...
Forum: AIX 12-07-2011
2,446
Posted By Corona688
while read SERVER do ssh "$SERVER"...
while read SERVER
do
ssh "$SERVER" grep "^username:" /etc/passwd '>' /dev/null '&&' echo "$SERVER"
done < list
Forum: AIX 07-14-2011
1,855
Posted By bakunin
In fact you do quite the same in a script. The...
In fact you do quite the same in a script. The following is a sketch which can perhaps be refined once we know a bit more about your environment, but it is a place to start. Save the following to a...
Showing results 1 to 3 of 3

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