Welcome to the Linux Foundation Forum!

Can anyone tell me how many types of linux commands are there?and syntax of linux commands.

Hello ,I am new here.Can anyone tell me how many types of linux commands are there?and syntax of linux commands.

Comments

  • The best way to explore Linux commands is through the manual (man) pages. Note that most man pages are NOT tutorials; they are reference pages providing you with what the command does and the various options it includes. Many man pages include examples of using the command. I rarely read a man page from beginning to end, but you can. Usually, you skim through the page, finding the parts you need to answer your questions about the command. Of course, feel free to read the entire man page, but you usually don't do that. I suggest you first use the man command to learn about the man command! Run: man man. Manual pages are organized in various sections (1-9); most of the usual commands will be found in section 1. To save space, man pages are stored on the disk in a compressed format (gzip'ed). To see all the man pages in section 1 that your system has, run: ls /usr/share/man/man1. This will also give you an idea of the many Linux commands that you have on your system. Note that system administration commands are documented in section 8; the other sections of the man page system contain documentation for things like system call, library calls, devices, file formats, etc.

    If you continue to use Linux, you will find that using the man pages and command to be very useful. Learn how to use the man command and skim through the man pages to find more information about the commands that interest you.

Categories

Upcoming Training