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 trial

Development Tools Introduction to the Terminal The Command Shell Command Arguments and Options

treehouse:~/workspace$ ls a.txt b.txt c.txt treehouse:~/workspace$ cat

I am having trouble understanding this. This is nothing like command line on a normal desktop or work on DOS. What is the solution to this?

1 Answer

Antonio De Rose
Antonio De Rose
20,884 Points

you've been asked to print the contents in the a.txt file for the first question

cat a.txt

second question, print all the contents in the b.txt and the c.txt file

cat b.txt c.txt

this is the terminal way of doing it, or the unix way of doing it, it is not that confusing nor hard, it can be a little daunting at the start, but if you insist to not give up, it comes very easy.