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.

Development Tools Console Foundations Users and Permissions File Ownership

Martynas Kairys
Martynas Kairys
4,959 Points

Hi, why did you type these 2 commands: 1."chown mike hello.txt" why typing this one? 2."sudo chown mike hello.txt"

Wouldn't be just easier 2nd option from the start? I am a bit confused.

The two comments were typed, (I'm assuming) to show the learner options in what you can and can't do. (it helps me learn when a little more is given)

I see it like this:

If I were to explain to you how case sensitive passwords work, it would be fine for me to tell you that it only works if you have the right capitalization. " Blah blah blah... (apple !== aPPle)"

But it takes it to the next step and bypasses your curiosity to show you that it won't work, (even if you use the same letters), and THEN tell you it won't work.

console.log("apple" === "aPPle") "As you can see these are not the same"

Does that make sense?