官术网_书友最值得收藏!

The man command

One of the most important commands, which is going to become handy to you in the future, is the man command. It stands for manual. The man command can be used to query and get the manual of any other command. For example, we just used the ls command to list all of the directories that exist in the current working directory:

man ls

After running this command, it will show us the manual for the ls command. And, as we can see, it's showing us that ls is used to list content, because it lists files and directories. We can also see that this command actually takes options, so it takes more options than just the ls command:

In the preceding screenshot, we can see the format of the options in Linux; it's either a - letter abbreviation, or --, and you type in the full option. So, for example, the -- all option does not ignore entries starting with a dot. If we type in or press the Enter key, the manual will just keep going down so you can read more information. These are all of the options that you can do with the command. We can see, for example, that the -l uses a long listing format. To quit this command, we just type in q, so we're out of the manual.

主站蜘蛛池模板: 长兴县| 昆明市| 岑溪市| 万源市| 来宾市| 沽源县| 黄石市| 昭通市| 买车| 襄樊市| 乡宁县| 吉安县| 吉首市| 八宿县| 阿合奇县| 苍梧县| 安国市| 车险| 松江区| 民县| 团风县| 教育| 保定市| 晋中市| 车险| 乡城县| 元江| 枣强县| 永宁县| 雷山县| 潍坊市| 光泽县| 剑阁县| 诸城市| 襄汾县| 金堂县| 新营市| 凤冈县| 雷波县| 白山市| 武清区|