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 15:20:03 +0200	[thread overview]
Message-ID: <1091971203.1678.8.camel@linux.local> (raw)
In-Reply-To: <200408081840.08839.aroop@poornam.com>

Am So, 2004-08-08 um 15.10 schrieb Aroop MP:
> How can i attach one file on the top of another file.
> 
> Suppose file1 has 10 lines and file2 has 20 lines. I want to attach the 10 
> lines of file1 to file2 so that the file2 will have 30 lines in total.
> 

cat file1 file2 >file3

> On Sunday 08 Aug 2004 5:31 pm, Sascha Retzki wrote:
> > 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
> >
> > -
> > 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


  reply	other threads:[~2004-08-08 13:20 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   ` File size Sascha Retzki
2004-08-08 13:10     ` Aroop MP
2004-08-08 13:20       ` Sascha Retzki [this message]
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=1091971203.1678.8.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).