What Is Export in Linux?
Contents

What is Export command in Linux?

The export command is a built-in utility of Linux Bash shell. It is used to ensure the environment variables and functions to be passed to child processes. It does not affect the existing environment variable. Environment variables are set when we open a new shell session.

What is export in Unix?

export is bash shell BUILTINS commands, which means it is part of the shell. It marks an environment variables to be exported to child-processes. … The export command, on the other hand, provides the ability to update the current shell session about the change you made to the exported variable.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest