From: "Axel H. Siebenwirth" <axel@hh59.org>
To: Ray Olszewski <ray@comarre.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Tcsh: Append output to a file
Date: Wed, 15 May 2002 03:17:04 +0200 [thread overview]
Message-ID: <20020515011704.GC1047@neon> (raw)
In-Reply-To: <2.2.32.20020515010844.00e0918c@[192.168.1.23]>
Hi!
On Tue, 14 May 2002, Ray Olszewski wrote:
> At 03:01 AM 5/15/02 +0200, Axel H. Siebenwirth wrote:
> >Hello!
> >
> >For example I use "/usr/local/sbin/dsniff >& dsniff.log &" in a start-up
> >skript to log the output to a file. But everytime I start my computer a new
> >file "dsniff.log" is created.
> >
> >My question is: How do I append to an existing file?
>
> /usr/local/sbin/dsniff >>& dsniff.log &
>
> The double >> is the "append" instruction.
Okay. First off, thank you!
I confused myself. Shell chaos. I'm using tcsh as all my login shells. But
the startup scripts are all bash scripts. So I really asked my self why what
you told me works on command line but not from the script.
Can you please tell me how to the same thing for bash? :)
Thank you,
Axel Siebenwirth
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2002-05-15 1:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-15 1:08 Tcsh: Append output to a file Ray Olszewski
2002-05-15 1:17 ` Axel H. Siebenwirth [this message]
2002-05-15 2:44 ` lawson_whitney
2002-05-15 6:52 ` Steven Smith
2002-05-16 17:27 ` Laptop Hardware Dan Bentson-Royal
2002-05-16 18:58 ` Richard Adams
2002-05-16 19:28 ` Bob Batson
-- strict thread matches above, loose matches on Subject: below --
2002-05-15 1:01 Tcsh: Append output to a file Axel H. Siebenwirth
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=20020515011704.GC1047@neon \
--to=axel@hh59.org \
--cc=linux-newbie@vger.kernel.org \
--cc=ray@comarre.com \
/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