From owner-freebsd-questions Sun Jan 28 20:36:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tepid.osl.fast.no (tepid.osl.fast.no [213.188.9.130]) by hub.freebsd.org (Postfix) with ESMTP id 802E237B400 for ; Sun, 28 Jan 2001 20:35:55 -0800 (PST) Received: from raw.grenland.fast.no (fw-oslo.fast.no [213.188.9.129]) by tepid.osl.fast.no (8.9.3/8.9.1) with ESMTP id EAA75532; Mon, 29 Jan 2001 04:53:20 GMT (envelope-from raw@fast.no) Received: (from raw@localhost) by raw.grenland.fast.no (8.11.0/8.11.0) id f0T4a6404531; Mon, 29 Jan 2001 05:36:06 +0100 (CET) (envelope-from raw) From: Raymond Wiker MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14964.62262.227078.687347@raw.grenland.fast.no> Date: Mon, 29 Jan 2001 05:36:06 +0100 (CET) To: "Justin W. Pauler" Cc: freebsd-questions@FreeBSD.ORG Subject: tail In-Reply-To: <01012813255100.83352@gateway.drnet.fais.net> References: <01012813255100.83352@gateway.drnet.fais.net> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Justin W. Pauler writes: > I am not sure if this is a command, but if not, I think it would be > useful. I have often needed to watch output from different commands > like df, but I have to continously run the command to get the > latest amount. I was thinking, why couldn't tail do that? Since it > can watch files for changes and display those, why not for a > command? > > I tried tail -f |df -h and could not get it to update. I would > appreciate your thoughts. I don't think there's any way of making this particular combination work :-) On the other hand, you may want to try the following in bash or sh: while true; do clear; df -h; sleep 1; done //Raymond. -- Raymond Wiker Raymond.Wiker@fast.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message