Edit Files with nano
Completed
Time to write. Use nano to create and change files. Remember: Ctrl+O then Enter saves, Ctrl+X exits.
How it works: the terminal below is a real Linux machine running in your browser. Click it and type. Tasks tick themselves off as you complete them; questions are answered in the box under each task. Press Reset any time for a fresh machine.
Hints
If nano asks Save modified buffer?, press Y and then Enter.
Solution explanation
Open each file with nano, edit it with the arrow keys and the keyboard, save with Ctrl+O and Enter, and exit with Ctrl+X. In config.txt, move down to the port line, fix the number, press Ctrl+End (or the down arrow) to reach the end and type the new line.
Show solution
nano shopping.txt
nano app/config.txt
cat app/config.txt