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 trialJohnny Austen
Front End Web Development Techdegree Graduate 35,494 PointsIs it possible to create a file in the command line via Sublime Text?
I've been browsing Google but haven't been able to find anything!
1 Answer
Jennifer Nordell
Treehouse TeacherHi, Johnny Austen! Very likely, yes. This will depend on what OS you're using. If you're using Mac or Linux try:
touch <filename>
If you're using Windows try:
type nul > filename
The command line in Sublime Text is just sort of a window/portal into your operating system's command line. So it's going to depend on the shell you're using.
Hope this helps!
Johnny Austen
Front End Web Development Techdegree Graduate 35,494 PointsJohnny Austen
Front End Web Development Techdegree Graduate 35,494 PointsHey yep that works, thanks Jennifer!