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

  • 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.

主站蜘蛛池模板: 河北省| 惠州市| 扎鲁特旗| 北海市| 南城县| 韶山市| 眉山市| 金阳县| 大姚县| 刚察县| 德钦县| 宁明县| 叙永县| 石城县| 富源县| 荥阳市| 无锡市| 甘孜| 辛集市| 宾川县| 高唐县| 阳原县| 锡林郭勒盟| 新建县| 手游| 萨迦县| 鄂托克旗| 庆城县| 溧阳市| 太湖县| 乌苏市| 潞城市| 得荣县| 类乌齐县| 五大连池市| 新邵县| 阳朔县| 盱眙县| 全南县| 大埔县| 林芝县|