The basic command line utilities on Linux are very similar to their traditional UNIX versions, albeit with many extensions and occasional incompatibilities. If you just want to understand the philosophy and feel how to use the command line and program in a shell of a Unix-like OS, any Linux distribution, including Ubuntu, will work just fine.
Linux is a Unix-like operating system; it follows many of the basic principles of UNIX, but it is not a certified UNIX derivative. However, specific efforts have been made to be as compatible as possible with the POSIX standard , which describes, among other things, the behavior of command-line utilities on UNIX operating systems.
Most (all?) Linux distributions ship with the GNU user space (e.g. GNU Bash and GNU coreutils ). In most cases, the behavior is similar to the behavior specified by the POSIX standard - setting the POSIXLY_CORRECT environment POSIXLY_CORRECT will cause some tools to more stringently comply with the specification.
In general, GNU utilities are more efficient than those that are closer to tradition on operating systems (such as BSD) because they are extended by POSIX . This means that the script shell created for * BSD sh is more likely to work on Linux than vice versa, although there are no guarantees.
thkala
source share