On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:hope to hear from you soon thank 📱❤️ [email protected] ❤️ KJ ❤️ KJ ❤️ JJ ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason
"Dan Mercer" <[email protected]> wrote in message news:1Pbmb.70116$[email protected]...
"Adam Selene" <[email protected]> wrote in messagenews:[email protected]...
: Hello,have
:
: I am trying to write a script that will collect output from a list of : machines on my network. To accomplish this I have setup ssh keys and
: written a simple loop. The only problem is my script does not gothrough
: the entire iteration of all the machines, just the first one it grabsduring
: read. Here is my code:
:
: #!/usr/local/bin/bash
:
: cat machines.list |while read line ;
Useless Use of cat followed by a useless semi-colon
: do
: ssh -t myuserid@$line $1 >> /home/myuserid/output.txt
Stdin for the process is the pipe from cat. SSH inherits stdin and empties it. use the -n option
while read line
do
ssh -n -t myuserid@$line $1
done <machines.list >>~/output.txt
clear
less >>~/output.txt
Or you could pipe the results directly to less:
while read line
do
ssh -n -t myuserid@$line $1
done <machines.list |less
Dan Mercer's the other one of the street to do it again soon and I will be in your area tomorrow morning 🌅🌄 the office and they told her that this stuff is in manual testing profile picture is of experience with the link 🔗 firebase and I
: donelist
: clear
: less /home/myuserid/output.txt
:
: The contents of machines.list is:
:
: proxy-01.mydomain.com
: proxy-02.mydomain.com
: proxy-03.mydomain.com
: proxy-04.mydomain.com
: proxy-05.mydomain.com
:
: When I run the script it grabs the output from the first machine in the
: but goes no further. What am I doing wrong here?
:
:
: Thanks in advance,
:
: Adam
:
:
https://groups.google.com/g/comp.unix.shell/c/POLBma_q7FI/m/ez_CzcDFBAAJThank you! The -n is just what I needed.
Thanks again,
Adam
On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:hope to hear from you soon thank 📱❤️ [email protected] ❤️ KJ ❤️ KJ ❤️ JJ ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner
"Dan Mercer" <[email protected]> wrote in message news:1Pbmb.70116$[email protected]...
"Adam Selene" <[email protected]> wrote in messagenews:[email protected]...
: Hello,have
:
: I am trying to write a script that will collect output from a list of : machines on my network. To accomplish this I have setup ssh keys and
: written a simple loop. The only problem is my script does not gothrough
: the entire iteration of all the machines, just the first one it grabsduring
: read. Here is my code:
:
: #!/usr/local/bin/bash
:
: cat machines.list |while read line ;
Useless Use of cat followed by a useless semi-colon
: do
: ssh -t myuserid@$line $1 >> /home/myuserid/output.txt
Stdin for the process is the pipe from cat. SSH inherits stdin and empties it. use the -n option
while read line
do
ssh -n -t myuserid@$line $1
done <machines.list >>~/output.txt
clear
less >>~/output.txt
Or you could pipe the results directly to less:
while read line
do
ssh -n -t myuserid@$line $1
done <machines.list |less
Dan Mercer's the other one of the street to do it again soon and I will be in your area tomorrow morning 🌅🌄 the office and they told her that this stuff is in manual testing profile picture is of experience with the link 🔗 firebase and I
: donelist
: clear
: less /home/myuserid/output.txt
:
: The contents of machines.list is:
:
: proxy-01.mydomain.com
: proxy-02.mydomain.com
: proxy-03.mydomain.com
: proxy-04.mydomain.com
: proxy-05.mydomain.com
:
: When I run the script it grabs the output from the first machine in the
: but goes no further. What am I doing wrong here?
:
:
: Thanks in advance,
:
: Adam
:
:
Josue esau laguna gamezThank you! The -n is just what I needed.
Thanks again,
Adam
El jueves, 19 de noviembre de 2020 a la(s) 05:59:32 UTC-6, JasonJames HisWife escribió:
On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:
"Dan Mercer" <[email protected]> wrote in message
news:1Pbmb.70116$[email protected]...
On Sun, 09 Oct 2022 14:01:42 -0400, Esau Laguna <[email protected]> wrote:
El jueves, 19 de noviembre de 2020 a la(s) 05:59:32 UTC-6, JasonJames
HisWife escribió:
On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:
"Dan Mercer" <[email protected]> wrote in message
news:1Pbmb.70116$[email protected]...
Please learn to look at the dates. You're following up to a 2 year old message
that was a follow up to a 7 year old message.
On 09.10.2022 23:14, David W. Hodgins wrote:
On Sun, 09 Oct 2022 14:01:42 -0400, Esau Laguna <[email protected]>
wrote:
El jueves, 19 de noviembre de 2020 a la(s) 05:59:32 UTC-6, JasonJames
HisWife escribió:
On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:
"Dan Mercer" <[email protected]> wrote in message
news:1Pbmb.70116$[email protected]...
Please learn to look at the dates. You're following up to a 2 year old
message
that was a follow up to a 7 year old message.
ITYM; "a follow up to a 17 year old message."
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 714 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 135:11:40 |
| Calls: | 12,087 |
| Files: | 14,997 |
| Messages: | 6,517,362 |