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 trialYI JIANG
3,424 Pointsafter write nano READ ME what do i do?
I click ctrl X there is nothing show up YES
3 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHey Yi,
When you hit CTRL-X to exit, if you did not modify anything, it will just exit back to the console command line. If you made changes, you will (should) have to type "Y" to save changes "N" to destroy changes or CTRL-C to cancel the exit.
What is happening when you do it?
YI JIANG
3,424 PointsIt shoes cd my_really_cool_project $ nano README
Jason Anders
Treehouse Moderator 145,860 PointsSo, that is your command line the nano readme
will open up the console text editor nano when you hit enter with a file called README, but the cd part shouldn't be part of that line.
Make sure you are in the proper folder. That what the cd my_really_cool_project > ENTER will do. It changes to the new directory.
Then nano > ENTER will open the editor. Here is where you would type in your readme file contents and when you save it, the file will be created in your project.
Hope that helps. Command line questions are sometimes tough to trouble shoot because there is kind of no code to paste in.