Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.
|
|||||||
Diff btw EXPORT, ENV and SET
![]() |
| Thread Tools |
|
#1
|
||||
|
||||
|
Diff btw EXPORT, ENV and SET
Hi all,
Anyone knows the difference btw the EXPORT, ENV and SET commands? TIA. |
|
#2
|
||||
|
||||
|
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. |
|
|




. 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.