The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
how to zero a file using csh
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
how to zero a file using csh
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
01-06-2004
fpmurphy
Moderator
Join Date: Dec 2003
Location: /ksh93
Posts: 883
A common way of zero-ing a file which is portable
across most Unices and shells is
cat /dev/null > file
- Finnbarr
fpmurphy
View Public Profile
Find all posts by fpmurphy