Environment, page 2 of 11


#1

https://www.codecademy.com/courses/learn-the-command-line/lessons/environment/exercises/nano?action=lesson_resume

I tried typing Ctrl + C and Ctrl + X and I also tried pressing Ctrl + O & control + X instead of typing them but nothing happened.


#2

Those are commands to the editor, not text to be entered in the file

If your os/browser isn't letting them through, you could try another editor

<close that terminal and open a new one>
vim ~/.bash_profile
<press i to enter insert mode>
<do your editing as usual>
<press esc to leave insert mode>
<type the keys :wq to save and quit>

Although they very much do seem to have come through, if you look at your screenshot your editor is asking you for the file name to use when saving


#3

Thanks! I already figured it out :slight_smile:


#4

Hey , I am having the same problem, can you please tell me how did you get through??


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.