From owner-freebsd-questions Fri Oct 29 21: 0:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id F1DEF14D4E for ; Fri, 29 Oct 1999 21:00:11 -0700 (PDT) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id VAA08160; Fri, 29 Oct 1999 21:22:57 -0700 (PDT) Date: Fri, 29 Oct 1999 21:22:57 -0700 (PDT) From: Alfred Perlstein To: bunny Cc: freebsd-questions@FreeBSD.ORG Subject: Re: INFORMATION ON FREE BSD In-Reply-To: <005501bf2286$7a6a1d80$a00582cb@intel> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 30 Oct 1999, bunny wrote: > Sir, > My questions are as follows: > > Q1: How to check if the user is reading his/her mail? probably just by running 'ps' and grep'ing for 'pine' or whatever mail programs you have on your system. > Q2: My /var is showing 74% . Please tell me how to control it. man quota > Q3: How to write different scripts in freeBSD? Please give me a real example script and how to do it. man sh check out the /etc/rc* files for some interesting usage of 'sh' scripting, check out the /usr/sbin/adduser script for an even more interesting use of 'perl' scripting. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message