TechSpot

Diff btw EXPORT, ENV and SET

By lokem
Apr 29, 2002
  1. Hi all,

    Anyone knows the difference btw the EXPORT, ENV and SET commands?

    TIA.
     
  2. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    Now I'm just being picky - they're not commands ;). Commands are written in lower case. The differences vary a bit, it depends on the shell. export doesn't display anything if you don't put any parameters but env shows the current environment.
    In sh shell, export and set are the same command.
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...