Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!manuel!cmf851 From: cmf851@anu.oz.au (Albert Langer) Newsgroups: comp.unix.shell Subject: Re: File remove command? Message-ID: <1991Jun21.171345.22535@newshost.anu.edu.au> Date: 21 Jun 91 17:13:45 GMT References: <922@visenix.UUCP> <1991Jun17.181558.9562@newshost.anu.edu.au> <3202@wyse.wyse.com> Sender: news@newshost.anu.edu.au Organization: Computer Services Centre, Australian National University, Canberra, Australia. Lines: 21 In article <3202@wyse.wyse.com> bob@wyse.UUCP (Bob McGowan) quotes and writes: >>How does one fill a file with zeroes or whatever in as few keystrokes >>as possible? ed? > >I do not know about the "in as few keystrokes as possible", but the >following script will overwrite the file space. >[...] THERE IS A MAJOR PROBLEM: The amount of system RAM available >to the user will affect how big a file can be handled by this procedure. >I hope this is of interest to someone out there. ;-) Thanks Bob, I will keep the script handy. Anyone got any other ideas, that might overcome the RAM limitation and be few enough keystrokes to use casually without a script, or at least define as an alias? I still think ed might be useful. -- Opinions disclaimed (Authoritative answer from opinion server) Header reply address wrong. Use cmf851@csc2.anu.edu.au