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.
Chat with our AI personalities