Date: Tue, 2 Mar 1999 23:07:12 -0700 From: Steve Carter <scarter@globalcenter.net> To: Langa Kentane <LKentane@mweb.com> Cc: "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG> Subject: Re: Log files (newbie) Message-ID: <19990302230712.B20613@globalcenter.net> In-Reply-To: <913B8C252194D2119BD500805F318178970540@za12nt02.mweb.com>; from Langa Kentane on Wed, Mar 03, 1999 at 07:54:25AM %2B0200 References: <913B8C252194D2119BD500805F318178970540@za12nt02.mweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Use the 'touch' command to create the file after deleting them. There are utilities (logrotate jumps to mind) that will manage your log files for you. -Steve Langa Kentane wrote: > My question about log files is ... how do you get rid of them.. I want to > delete some of the stuff on the logs but I don't know the correct way to do > this. > > I know that there is a unix command to create a file that has nothing on > it.. maybe that is the answer. And what would happen if I just delete the > file. Will a new one be created? Or will FreeBSD complain that it can't > find the original file all the time? > > Thanks in advance > > ________________________________________________________________________ > Langa F. Kentane (CNA, MCP) | Unix, DOS & Window > Technical Suppot | The good, the bad & the ugly > M-Web Connect PTY/LTD | mailto:evablunted@earthling.net > Tel: +27 82 960 4963 | http://members.xoom.com/evablunted > ________________________________________________________________________ > "Microsoft isn't evil, they just make really crappy Operating Systems" > - Linus Torvalds > ________________________________________________________________________ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990302230712.B20613>