Re: File size

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

 



You can make a file zero length by cat > foo and by typing CTRL-D
On Sunday 08 Aug 2004 5:14 pm, Roberto Vanto wrote:
> Anindya Mozumdar ha scritto:
> > Hi,
> >    How can I make a file zero length without deleting the contents of
> >    the file manually through an editor ?
> > Anindya.
> > -
>
> man touch
>
> touch foo
>
> -
> : send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 

 Regards, 
 Aroop M.P
 Bobcares Support Team
 ---------------------------------------------------
 "NO MATTER WHERE YOU ARE IN THE WORLD,IF YOU HAVE DECIDED TO DO  SOMETHING 
DEEP FROM YOUR HEART YOU CAN DO IT. IT HAS ALWAYS BEEN THE   THOUGHT THAT 
MATTERS... "
 ---------------------------------------------------
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux