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

  • Learn Linux Quickly
  • Ahmed AlKabary
  • 123字
  • 2021-06-11 18:43:51

What does the command do?

You can use the whatis command to get a brief description of what a command does. For example, if you want to know the purpose of the free command, you can run the whatis free command:

elliot@ubuntu-linux:~$ whatis free
free (1) - Display amount of free and used memory in the system

As you can see, the free command, as we already know, displays the amount of free and used memory in the system. Cool! Now let's see what the df command does:

elliot@ubuntu-linux:~$ whatis df
df (1) - report file system disk space usage

Finally, let's see what the which command does:

elliot@ubuntu-linux:~$ whatis which 
which (1) - locate a command

As we already know, which displays a command's location.

主站蜘蛛池模板: 平和县| 广宗县| 内黄县| 阿坝县| 灵川县| 西丰县| 伊通| 泰和县| 甘德县| 中西区| 蒙阴县| 伊宁市| 汕尾市| 巴青县| 奈曼旗| 林西县| 滨海县| 辽阳县| 龙江县| 民权县| 德兴市| 江陵县| 卢氏县| 南安市| 香港| 余姚市| 封开县| 肥城市| 泽州县| 威信县| 沙洋县| 青龙| 册亨县| 广丰县| 湟中县| 林芝县| 淮安市| 囊谦县| 长乐市| 赣榆县| 巨野县|