Re: redirection

Página Principal
Anexos:
Mensagem como email
+ (text/plain)
+ (text/html)
+ (text/plain)
Apagar esta mensagem
Responder a esta mensagem
Autor: Brian Cluff
Data:  
Para: plug-discuss
Assunto: Re: redirection
Like this:

while [ true ]; do
date +'%s'
df -x tmpfs
sleep 10
done | tee -a log.log

Brian Cluff

On 09/25/2016 01:50 PM, Michael wrote:
> How do I redirect the out put of this to a file?
>
> while [ true ]; do
> date +'%s'|tee -a log.log
> df -x tmpfs|tee -a log.log
> sleep 10
> done
>
> --
> :-)~MIKE~(-:
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss