Search code examples
linuxunixprogramming-languages

Unix Commands Question/Book Recommendations


Ok this is a 2 parter. First of all, this may sound stupid, but are all Unix Commands on Linux Distros? Does any Linux Distro add any.

And commands like....pwd or......ssh, like what are these "written" in programming language wise. C?

Second part, What is a good book that lists and explains all the Unix commands (or at least most of them)

thanks


Solution

    1. Not all linux distributions come with one and the same set of commands. There is, however, The Single UNIX® Specification, which lists canonical commands and utilities.

    2. In short: The majority of programs is written in C.

    3. Again, take a look at The Single UNIX® Specification to get an overview. Once you have opened a terminal with a shell, just press Tab - this will yield a list of commands on your machine.

      $ # press Display all 3358 possibilities? (y or n)

    Most commands have man pages, too, if you want to know more about them.

     $ man pwd