Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to zero out a file in tcsh?



Question: I know that I can zero out a currently existing file in ksh and
bash by typing

> filename

which will make filename have zero size. (Assuming noclobber is not
set.) Is there a similar construct in tcsh? When I try it I get 'invalid
null command.' I know I can do, for instance

echo -n < /dev/null > filename

Just curious, since we standardize on tcsh at work. Many thanks for any
help--

-- 
Ken Gosier
ken at kg293.net





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org