linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sascha Retzki <lantis@iqranet.info>
To: linux-admin@vger.kernel.org
Subject: Re: File size
Date: Sun, 08 Aug 2004 14:01:41 +0200	[thread overview]
Message-ID: <1091966501.1291.6.camel@linux.local> (raw)
In-Reply-To: <cf53n8$hn5$1@sea.gmane.org>

Am So, 2004-08-08 um 13.44 schrieb Roberto Vanto:
> 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

touch changes the timestamp if the file exists. It sounds like the file
already exists. btw, You don't need to delete it through an editor, "rm
foo ; touch foo" would do it, too. ;-)

> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 


  parent reply	other threads:[~2004-08-08 12:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-08  9:00 File size Anindya Mozumdar
2004-08-08  9:16 ` Sascha Retzki
2004-08-08 11:44 ` Roberto Vanto
2004-08-08 11:55   ` Aroop MP
2004-08-09 21:14     ` File size (shortest possible solution) + don't touch Stephen Samuel
2004-08-09 22:47       ` Daniel Berlin
2004-08-08 12:01   ` Sascha Retzki [this message]
2004-08-08 13:10     ` File size Aroop MP
2004-08-08 13:20       ` Sascha Retzki
2004-08-08 13:57       ` John Julian
2004-08-08 12:44 ` Tim Walberg
2004-08-08 15:45 ` (unknown) Debian UserJens Suelwald
2004-08-09 13:21   ` Adam Lang
2004-08-09  8:41 ` File size Ag. System Administrator
2004-08-09 14:39 ` Scott Taylor
2004-08-10  6:27 ` Andrew Kelly
2004-08-10 13:47 ` Anindya Mozumdar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1091966501.1291.6.camel@linux.local \
    --to=lantis@iqranet.info \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).