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.

Abacus Bosnia
459 PointsSudo Class
What's difference betwen sudo-class and pseudo-class? Like: a:hover a:link a:active a:visited
When we use sudo(pseudo) classed outside css?
3 Answers

rayorke
27,709 PointsThough the words are phonetically the same, they have different definitions.
pseudo-class is used in CSS as a keyword that designates a special state of the element to be selected ( :hover
:visited
, etc )
sudo is a command used in UNIX-like operating systems (GNU/Linux, Apple OSX, BSD, etc.) that allows a user to run a program with alternative security privileges ( normally the superuser )

Abacus Bosnia
459 PointsThank you very much...

Abacus Bosnia
459 PointsThank you very much...
James Barnett
39,199 PointsJames Barnett
39,199 PointsRhys Yorke -
>
POSIX operating systems (Linux, Mac OS, etc.)A better term here would be Unix-like, as Linux is not POSIX compliant also BSD isn't either, the OS on which much of OS X is based. OS X became an official licensed UNIX as of version 10.5, so it's been POSIX compliant since that time.
Further reading: https://en.wikipedia.org/wiki/Unix-like
rayorke
27,709 Pointsrayorke
27,709 PointsJames Barnett, I don't think it's necessary to get in to specifics at this point. I was illustrating the idea that it was not Windows
Even Jim Hoskins states in his Console Foundations course when pointing out the similarities between Linux, BSD, Darwin:
"In fact, there is a standard that these operating systems share with each other called POSIX, or portable operating system interface."