export command doesn't work

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


Submit an 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