🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #527

Re: Printer Accounting

#527
From: Chuck Yerkes
Date: Wed, 08 Apr 1992 01:33
19 lines
1022 bytes
In article <1992Apr5.005549.1702@nic.csu.net> sulistio@sutro.SFSU.EDU (Sulistio Muljadi) writes:
how to add printer accounting...
>in the shell/terminal window, do "cat > /usr/adm/NeXTprinter.acct"
>and, presss Ctrl-D to create the empty file.

Actually the appropriate Unix way of creating an empty file is
"touch filename"  Creates if none existed, leaves it if there
"cp /dev/null filename" make an empty file (if there before or not)


Not to pick nits, but it's a VERY important shell script trick


chuck

-------
chuck yerkes         chuck@fsg.com
sys. admin
fusion systems group, NY NY
Technical Details
Message-ID: <1992Apr8.013359.11762@fsg.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!sarah!cook!psinntp!psinntp!fsg!chuck
References: <1992Apr3.170725.26447@kakwa.ucs.ualberta.ca> <1992Apr5.005549.1702@nic.csu.net>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!sarah!cook!psinntp!psinntp!fsg!chuck
From: chuck@fsg.com (Chuck Yerkes)
Subject: Re: Printer Accounting
Message-ID: <1992Apr8.013359.11762@fsg.com>
Organization: Fusion Systems Group, New York City
References: <1992Apr3.170725.26447@kakwa.ucs.ualberta.ca> <1992Apr5.005549.1702@nic.csu.net>
Date: Wed, 8 Apr 1992 01:33:59 GMT
Lines: 19