answersLogoWhite

0

export command used to export one or more variables to the environment.

For Ex:

$ scname=kugu

$ export scname

In the Korn shell( KSHELL),we can combine these commands into one command:

$export scname=kugu

Use the env (or printenv ) command to display all environment variables and their current values.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
ReneRene
Change my mind. I dare you.
Chat with Rene
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao

Add your answer:

Earn +20 pts
Q: What is the purpose of the export command in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp