Strictly speaking, UNIX is not one single operating system, it is a family of operating systems. Different computer manufacturers produce their own versions of UNIX.
Although these are mostly similar, there are small differences which can cause problems. The most obvious examples are the layout of the file system and the exact format of certain commands.