Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial3 Answers
Sue Dough
35,800 PointsControl X - This will put you in exit mode, if theres no changes it will exit immediately. If it doesn't then follow next steps:
Y - This will save the work. You can also press n to not save. If you do save then follow the next step:
Enter - A prompt will ask about the name of the file. If you press enter the name won't change. You can also change it by typing the name you want.
So it usally goes like this when all the commands are put together and you want to save an existing file:
Control X, Y, ENTER
Justin Molyneaux
13,329 PointsHit the "Q" Key to completely exit out of nano.
David Bath
25,940 Pointsctrl+C
Sue Dough
35,800 PointsPlease explain your answer. Have you actually tried it? What happens?
David Bath
25,940 PointsYou are correct Sue, I must have been thinking of a different program. Where were you 27 days ago?