Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 2. Unix Commands > cat - Pg. 15

Table 2-1. Solaris bin directories (continued) Directory /usr/xpg4/bin /usr/xpg6/bin Purpose Standards-compliant versions of regular utilities More standards compliant versions of regular utilities We strongly recommend placing /usr/xpg6/bin and /usr/xpg4/bin in your shell search path before the other directories. Solaris is unique among modern Unix systems in that the versions in /usr/bin continue to be the original System V Release 4 versions of the commands. Today, with just about every other system being POSIX compliant, you should set up your Solaris account to be POSIX compliant too! For Bash or the Korn shell, use something like this in your .profile file: # Use multiple lines to fit on the page: PATH="/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/usr/java/bin" PATH="$PATH:/usr/sfw/bin:/usr/perl5/bin" PATH="$PATH:/usr/dt/bin:/usr/X/bin:/usr/openwin/bin" Unix Commands The Solaris Software Companion CD contains unsupported copies of many popular Free Software and Open Source programs from the Internet. They install under /opt/sfw . If you install this software, you may wish to add /opt/sfw/bin to your path as well. Finding Commands on GNU/Linux and Mac OS X The situation on GNU/Linux and Mac OS X is considerably simpler. For both