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

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.

主站蜘蛛池模板: 龙门县| 疏附县| 普陀区| 瓮安县| 奉化市| 蕉岭县| 澄江县| 庆安县| 太湖县| 湖北省| 水城县| 皋兰县| 朝阳市| 图木舒克市| 江华| 中西区| 乌苏市| 荔波县| 鄂州市| 合肥市| 新宾| 博罗县| 扎鲁特旗| 吉木乃县| 比如县| 遂昌县| 天柱县| 沂水县| 林西县| 克东县| 清河县| 舟山市| 竹溪县| 桂平市| 柞水县| 邢台县| 平原县| 通海县| 西宁市| 木兰县| 凌海市|