Hdi2u S06

From wiki
Jump to: navigation, search

Learning about Linux commands

  • This is a continuous and very important activity
  • Linux has a large and comprehensive documentation system called man
  • Linux manual pages are referred to as man pages.
  • To open the man page for a particular command, you just need to type man followed by the name of the command you are interested in.
  • To browse through a man page, use the up,down,pgup and pgn keys.
  • To close (quit) the man page simply hit the q key on your keyboard.
  • If you do not know the specific name of a command to use for a particular job, you can search using man –k <roughidea>

followed by the type of thing you are trying to do. An example of this is in exercise 1-3, part c).

Exercise

  • Look up the manual information for the ls command by typing the following in a terminal:
man echo
man mkdir
  • What can you say about these commands?