|
横山です。
コマンドのログを取りたいのですが、
例えば、
lsと打つと、lsとその結果が、ファイルに
保存されると言うわけです。
現在は、
ls | tee log.txtと打っています。
しかし、これだと、lsの結果は、log.txtに
保存されますが、lsは、保存されません。
なにか、良い方法は、ないでしょうか?
|
Follow-Ups:
- [linux-users:86990] Re: teeT.SHIOZAKI
- [linux-users:86991] Re: teeH.Kawaguchi
- Prev by Subject: [linux-users:86988] Re: sendmailの障害について教えてください
- Next by Subject: [linux-users:86990] Re: tee
- Previous by thread: [linux-users:87001] Re: デーモン
- Next by thread: [linux-users:86990] Re: tee
- Indexes:[Main][Thread]