Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Adam Rubinson
4,286 PointsTouch Command
how do I use the touch command? Like in the video when it was 1 click and then "my_really_cool_project" appeared?

Chris Komaroff
Courses Plus Student 13,672 PointsLet's say a file with name test.txt exists with 12/27/17 21:20 time stamp. The current date/time is 12/28/17 08:30 Then enter this in same directory as test.txt: touch test.txt Then enter this to see current info on file: ls -al test.txt .... .... Dec 28 08:30 test.txt ...
The time stamp of test.txt was just updated to current date/time (now).
Alexander La Bianca
15,947 PointsAlexander La Bianca
15,947 PointsYou can use the touch command to create a new file in the current directory. Let's say you are in the MySites directory. You can then do: 'touch app.js' which will create a file app.js in the MySites directory. Its like the mkdir command. Which lets you create a directory in the current direcotry