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 trialAmir Siahpolo
1,354 PointsExiting out of Nano
In the video it does not mention to use command 'T' to get back to the $ sign in the terminal window. I accidentally tried command T and it worked. How do you flip between the Nano text editor and get back to the command line after making changes?
1 Answer
Stone Preston
42,016 Pointsto open the nano text editor type (this will bring up an empty file)
$ nano
if you want to open a file in nano type
$ nano filename
to save changes to the file type control + 0 and type the name of the file youd like to save it as
to exit nano press control + x (if youve made changes and havent saved it will ask you to save your changes by pressing y or n)
James Barnett
39,199 PointsJames Barnett
39,199 Pointstl;dr -
ctrl + o
= save filectrl + x
= exit nanomore info: http://mintaka.sdsu.edu/reu/nano.html