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 trialSebastian Eguez
8,248 PointsWhat is "cd home"?
treehouse ~ $ ls
cd home documents hi.txt pictures
treehouse ~ $
What is "cd home"?
How do I copy/fork/take a screenshot of what's in my console?
How do I remove "cd home"?
Jim's screen doesn't have a "cd home". Why?
3 Answers
Mike Constantino
12,034 Points'Cd home' will bring you back to the home directory depending on where your at. Cd is the command you use to navigate through directories in the terminal. I don't fully understand your question, however.... where are you seeing this?
Maciej Czuchnowski
36,441 PointsWhy do you want to remove anything there? Does that impede your work in any way?
ywang04
6,762 PointsAs Mike said 'cd home' will bring you back to the home directory depending on where your at.
treehouse ~ $ ls
cd home documents hi.txt pictures
treehouse ~ $
From this output, it seems like you created a file or directory named "cd home" instead of using "cd home" as a command.
You can use "ls -l" to print long form of your file list to double check my assumption.
Sebastian Eguez
8,248 PointsSebastian Eguez
8,248 PointsIn the console.
How can I copy what's in my console (so you can see it)(like forking/taking a snapshot on Workspaces)?
I see "cd home" when I enter "ls" and "ls -l".
When I enter "ls -l", it appears as:
-rw-r--r-- 1 treehouse treehouse 0 Jul 21 01:19 cd home
And then a few others.
And then...
"rm cd home"
=
Jim, the instructor, doesn't have a "cd home" on his console. Why do I?