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 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?