Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <milutinn@EUnet.yu>
Subject: Re: Clearing /var/adm/messages, how?
Date: 1998/09/17	[thread overview]
Message-ID: <36016A1D.B31E15ED@EUnet.yu> (raw)
In-Reply-To: 6tqf3o$ava$1@power42t.hkbu.edu.hk

Pui Ming WONG wrote:
> 
> I've found that there's a file called 'messages' under the /var/adm
> subdirectory of our DGunix system.
> It's very large. How do i clean it so that old messages will be
> cleared and new ones will be stored anew.

# sed '1,10000D' messages > msg.new
# mv msg.new messages

Repeat Until happy==True

Nix.




  reply	other threads:[~1998-09-17  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-17  4:00 Clearing /var/adm/messages, how? Pui Ming WONG
1998-09-17  4:00 ` Nikola Milutinovic [this message]
1998-09-19  4:00 ` srlnrow
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox