answersLogoWhite

0


Best Answer

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
This answer is:
User Avatar

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
Related questions

What does the k command do in Linux?

k is not a standard command in Linux.


What is the command to turn on Linux?

There is no such command. Obviously, in order to enter a command into the prompt, Linux must already be on.


Which Linux command is equivalent to Windows' MD command?

In a Linux terminal, the command to create a new directory is: mkdir .


What Linux command sets a files permission?

In Linux the chmod command is used to set file permissions.


What is helo for Linux?

Nothing. Helo is not a recognized command in linux.


What is the maximum number of characters Linux allows in a keyboard command?

Linux does not have a limit as to the number of characters you can enter in a command.


What happens when you enter a Linux command in capital letters?

You get a command not found. Linux is case sensitive. So, for example: The command "systemctl" will not be the same as "SystemCTL" to a shell in Linux. One will work, the other will return an error saying there's no such command.


What command line to heart beat stop and start in Linux system?

To stop heartbeat in Linux the command line will be service Heartbeat stop To start heartbeat in Linux the command line will be service Heartbeat start


What is the Linux equivalent of the Windows help command?

The man command.


What Linux command with tell you the location and path to a command?

pwd


Which Linux command displays your login name?

The whoami command.


How do you clear your command history in Linux?

You can view the history of commands entered on a Linux system with the history command.