Pls list the command or the scenario which will work in Unix but will never work in Linux

closed as unclear what you're asking by Anthon, Stephen Kitt, mikeserv, Networker, Bananguin Mar 12 '15 at 14:54

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • I can't tag with unix – khishore S Mar 12 '15 at 10:38
  • 5
    Your question doesn't make sense. Linux is the kernel found in a wide variety of Unix-like (Debian, RHEL, OpenSuse...), and not-so-Unix-like (Android, ChromeOS, smart TVs...) systems. Unix denotes a wide family of operating systems which in some acceptances of the term includes those Linux-based systems like Debian/RHEL... All different Unix and Unix-like systems (thousands of different ones) have different commands, all of them have optional commands. Which kernel they use is of limited relevance. – Stéphane Chazelas Mar 12 '15 at 10:54
  • @Stephane I am currently using ksh88 version for script and we are planning for rhel6.So is there any limitations in it – khishore S Mar 12 '15 at 11:01
  • 1
    ksh88 in what OS? Unix is not an OS nowadays, it's a family. Unix OSes include Apple OS/X, AIX, Solaris, HPUX, Tru64... If you want a shell available on RHEL that is compatible with ksh88, ksh93 is probably your best bet though pdksh/mksh may be enough. As for the commands used that obviously depends on which ones? – Stéphane Chazelas Mar 12 '15 at 11:07
  • 3
    See the Unix specification for a list of standard basic utilities available in most Unix-like systems. – Stéphane Chazelas Mar 12 '15 at 11:12

There are many variations of UNIX (BSD, AIX, Solaris for e.g.) and many Linux-based operating systems (RHEL, Ubuntu, SUSE for e.g.).

Although there are some standard utilities and shell commands, it would be impossible to compare available commands in the OS families as a whole.

A more practical exercise would be comparing a UNIX variation with a Linux distribution. However, even then, the room for package customization may make it difficult to come up with anything definitive.

Not the answer you're looking for? Browse other questions tagged or ask your own question.