Search Results

Search: Posts Made By: new2prog
617
Posted By Scrutinizer
That is because the mail command is inside the...
That is because the mail command is inside the loop. Also you can redirect the loop output to the file

You could try:
#!/bin/sh
for i in system1 system2 system3
do
ssh $i df -h | sed -n...
617
Posted By RudiC
How about shifting the mail command after the...
How about shifting the mail command after the loop?
Showing results 1 to 2 of 2

 

Featured Tech Videos

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