[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] Suppressing output
traceroute prints the first line to stderr and the remaining lines to
stdout. If all you want to do is remove the first line, this should do it
for you:
traceroute 138.25.9.1 > /dev/null
If something a bit more complex is required, I'd be inclined to use perl.
Regards,
Rob.
rob@nospam.progsoc.uts.edu.au
robert@nospam.access.com.au
On Thu, 28 May 1998, Eliseo Christopher d'Annunzio, Esquire wrote:
> I'm wondering if there is a way of suppressing the first line of output
> from the traceroute command... Apparently piping it through grep -v "hops"
> doesn't seem to do much good...
>
> traceroute to 138.25.6.1 (138.25.6.1), 30 hops max, 40 byte packets
>
> seems to remain there no matter what I do... any suggestions?
>
> Eliseo Christopher d'Annunzio, Esquire
> E-Mail: sherlock@nospam.progsoc.uts.edu.au
> Stardate: 98403.12
>
> --
> You are subscribed to the progsoc mailing list. To unsubscribe, send a
> message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
> If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
>
> This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>
>
--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>