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

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.

主站蜘蛛池模板: 乌兰察布市| 沂南县| 九龙城区| 富裕县| 温泉县| 涞源县| 垫江县| 威海市| 江西省| 江源县| 忻州市| 青川县| 曲周县| 镶黄旗| 昔阳县| 昌宁县| 虞城县| 耿马| 荣昌县| 清涧县| 延边| 米脂县| 新和县| 张家界市| 云浮市| 浦县| 马边| 安平县| 库尔勒市| 东乌珠穆沁旗| 洪湖市| 宜丰县| 涡阳县| 来安县| 交城县| 白银市| 东台市| 邢台市| 昌图县| 阿巴嘎旗| 永清县|