export

Basic Linux Command Example: 

 

Get help on Linux export Command.

 

   Linux export command is use to set export attribute for shell variables on Linux system.  The Linux export command is one of bash shell built in command.  The command example below show how to get help on Linux export command using shell command, this help show information on how to use the Linux export command, the export command options and the arguments that can be use with Linux export command.

 

Get Linux export command help

 

  Execute help command and the name of Linux command that we want the help file, the example below we execute help command with -m option to get the help for export command using the manpage format.

export linux command

[linux@fedora11 ~]$ help -m export

NAME

    export - Set export attribute for shell variables.

 

SYNOPSIS

    export [-fn] [name[=value] ...] or export -p

 

DESCRIPTION

    Set export attribute for shell variables.

 

    Marks each NAME for automatic export to the environment of subsequently

    executed commands.  If VALUE is supplied, assign VALUE before exporting.

 

    Options:

      -f        refer to shell functions

      -n        remove the export property from each NAME

      -p        display a list of all exported variables and functions

 

    An argument of `--' disables further option processing.

 

    Exit Status:

    Returns success unless an invalid option is given or NAME is invalid.

 

SEE ALSO

    bash(1)

 

IMPLEMENTATION

    GNU bash, version 4.0.16(1)-release (i386-redhat-linux-gnu)

    Copyright (C) 2009 Free Software Foundation, Inc.

    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

 

[linux@fedora11 ~]$

 

Keywords: export, export command, linux export command, export linux command, export help, help export, command export help, help export command