> > bash# cat /dev/null > /var/run/utmp
> > 

>    > filename
> 
> is enough to clear a file in linux. (Don't try this in Solaris or
> something though)

This is a function of bash, not linux.  It is also much more terse, so
generally not advisable in normal suggestions... (Usually requires
explanation)

Dave


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to