help me in writing shell script - Unix

This is a discussion on help me in writing shell script - Unix ; making a nonzero size file to a zero size file...

+ Reply to Thread
Results 1 to 2 of 2

Thread: help me in writing shell script

  1. help me in writing shell script

    making a nonzero size file to a zero size file

  2. Re: help me in writing shell script

    On Aug 7, 12:29*am, Injam wrote:
    > making a nonzero size file to a zero size file


    Assuming 'FNM' holds the file name, use:

    > $FNM


    or

    dd if=$FNM of=$FNM count=0 2>/dev/null

+ Reply to Thread