Re: redirection

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Brian Cluff
日付:  
To: plug-discuss
題目: 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