The command line


I am having trouble understanding this instruction; In ~/.bash_profile, at the top of the file, type

echo "Welcome, Jane Doe"
You can use your name in place of "Jane Doe".

Type Ctrl + O to save the file.

Press Enter to write the filename.

Type Ctrl + X to exit.

Finally, type clear to clear the terminal window.

I did what the instruction says and it still doesn't work.


In terms of what you expected and what happened instead, what do you mean doesn't work? ("Doesn't work" does not explain what you're seeing or what you've done, nobody can help when that is the only description of the issue)

What's the content of the file after you've finished editing it?