UNIX export command

0 votes
I am trying to understand the use of export command.

I tried using man export, but there is no manual for this command.

Can anyone please help me out understanding the use of export in UNIX?
Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
549 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

export - Set export attribute for shell variables.

SYNOPSIS

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

DESCRIPTION The export- command is a BUILTINS command in the bash shell, which means it is part of your shell. The export command has a basic syntax and only three command arguments, making it relatively easy to use. The export command, in general, marks an environment variable for export with any freshly forked child processes, allowing a child process to inherit all marked variables.

Options

Tag Description
-p List of all names that are exported in the current shell
-n Remove names from export list
-f Names are exported as functions
answered Apr 27, 2022 by Edureka
• 13,690 points

edited Mar 5

Related Questions In Linux Administration

0 votes
0 answers

UNIX man command to find list of man sections

I'm working on a lab that is ...READ MORE

Apr 13, 2022 in Linux Administration by Rahul
• 9,680 points
546 views
0 votes
0 answers

Linux command to display date in unix format

What command can I use in Linux ...READ MORE

Apr 13, 2022 in Linux Administration by Aditya
• 7,680 points
710 views
0 votes
0 answers

What exactly does the Unix `bash` command do when run without options?

When you type bash into the terminal ...READ MORE

Apr 14, 2022 in Linux Administration by Soham
• 9,710 points
506 views
0 votes
0 answers

What does the 'export' command do?

I happen to run some commands blindly, ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,680 points
770 views
–1 vote
1 answer

How to use help command for ls?

The help command is limited and it ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,220 points
3,709 views
–1 vote
1 answer

How to use help command

The help command is limited and it ...READ MORE

answered Jan 11, 2019 in Linux Administration by Omkar
• 69,220 points
743 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

answered Feb 15, 2019 in Linux Administration by DareDev
• 6,890 points
2,766 views
0 votes
1 answer

To run a shell script on a Unix console or Mac terminal

To run a non-executable sh script, use: sh myscript To run ...READ MORE

answered May 16, 2019 in Linux Administration by Upasana
• 8,620 points
963 views
0 votes
1 answer

Argument receiving error for rm command

Bash actually expands the asterisk to every ...READ MORE

answered Jun 8, 2019 in Linux Administration by Shubham
• 13,490 points
1,147 views
0 votes
1 answer

To attach a file using mail command on Linux

$ echo | mutt -a syslogs.tar.gz admin@domain.org READ MORE

answered Jun 28, 2019 in Linux Administration by Upasana
• 8,620 points
3,062 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP