Report this

What is the reason for this report?

export command doesn't work

Posted on April 26, 2021

First of all this article is amazing. I’m so happy that I can create my website in python, thank youuu <3

I currently am struggling, cause I created a file with nano command but I can’t open it with export command. It sais “export ist no name of a Cmdlet…”. I don’t know what to do :/

Kind regards, Kim



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @kimlea,

Can you confirm which tutorial you’ve been following through? Additionally, Are you using your Droplet’s SSH or are you using your local terminal?

About the export command, 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. At any time, if we change any variable value, the shell has no way to select that change. The export command allows us to update the current session about the changes that have been made to the exported variable. We do not need to wait to start a new shell session.

In that regard, I’m curious to see what you are putting in the text file you are creating with nano.

Regards, KFSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.