Learn the command line/environment


#1

<Below this line, add a link to the EXACT exercise that you are asking about.>
https://www.codecademy.com/courses/learn-the-command-line/lessons/environment/exercises/environment?action=lesson_resume

<Below this line, describe in what way does your code behave incorrectly?
Include ALL error messages.>
i am stuck with lesson 1/11,I cannot understand when it say Using the menu
at the bottom of the terminal for reference, type Ctrl + O (the letter,
not the number) to save the file. (what is this?)

<Below this line, add a screenshot of your whole web browser
so that we can see what you see.>


#2

If you look at screen
you have the nano =status-line=

GNU nano 2.5.3        File: hallo.txt          modified
 (nano version)       (the file you            (the status
                       are working on)          in which the file is)

At the bottom of your nano-screen you see

^g Get-Help  ^o Write-Out  .....
^x Exit

======================================================

^o stands for, pressing-and-hold-down the CTRL-keyboard-key and simultaniously press the lowercase o-keyboard-key
If you use the cltrl-o you are going to Write-Out meaning you are going to save the changes
a line will appear in which you see your current file-name
now you can either
-1 press-enter, the changes will be written to your file file.txt ( look at your =status=)
or
-2 you change the filename you want to write to and then press-enter.

You are still in the nano-editor.
To exit the nano-editor you use the ctrl-x and you will be on the bash-prompt

You could also use the ctrl-q key which will close the nano-editor WITHOUT making changes


#3

Can you help me I can’t solve 2/11 nano


#4

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