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

POSIX - what exactly is "it"?

Hi all. This may be a simple question, but I'm having trouble researching what exactly POSIX is... I've heard it mentioned throughout a few videos of the Console Foundations section, but I just can't seem to find a straight-forward answer online. Any help would be appreciated :-)

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

I'll take a stab at it.

I believe it's the "standards" for the console or command line interface between the operating systems. Much like the WC3 sets web standards, POSIX sets console standards.

Basically meaning that "cd" in a console means "change directory" whether you're on a Mac, Windows, or Linux unit.

Ah, makes more sense to me now. I had a feeling it had a similarity to the W3C in that regard. Thank you...

James Barnett
James Barnett
39,199 Points

Basically meaning that "cd" in a console means "change directory" whether you're on a Mac, Windows, or Linux unit.

For the official specification of how cd should work check out:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cd.html

James Barnett
James Barnett
39,199 Points
  • POSIX is an IEEE standard, IEEE 1003, the IEEE is the group who makes all of the networking standards.
  • The POSIX standard is developed by The Open Group with help from the community
  • The current version of the standard is referred to as POSIX.1-2008.

POSIX.1-2008 defines a standard operating system interface and environment, including a command interpreter (or "shell"), and common utility programs to support applications portability at the source code level. It is intended to be used by both application developers and system implementors.

From: http://pubs.opengroup.org/onlinepubs/9699919799/

Thanks James, much appreciated.