.bashrc, .cshrc or .profile scripts

Brian McKee brian.mckee at gmail.com
Mon Feb 2 15:18:37 UTC 2009


On Mon, Feb 2, 2009 at 5:10 AM, Ulf Rompe <Ulf.Rompe at icem.com> wrote:
> Am Freitag, den 30.01.2009, 09:01 -0500 schrieb Brian McKee:
>> alias envdump='perl -mstrict -MData::Dumper -we '\''print Dumper \%ENV;'\'''
>
> Doesn't "env" give you the same information?

Hmmm.  Yep - looks like it.  I remember tripping over that one liner
when I was trying to debug a perl cgi script.  Was just the ticket.  I
don't remember now why exactly why it migrated to my shell, but it's
been there a long time now.  The layout is a little better I
suppose...  There must have been another reason, but it escapes me
right now.

Brian




More information about the ubuntu-users mailing list