- 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.
推薦閱讀
- Learning Single:page Web Application Development
- Vue.js設計與實現
- 潮流:UI設計必修課
- 企業級Java EE架構設計精深實踐
- 微服務與事件驅動架構
- C#完全自學教程
- Python深度學習
- 新編Premiere Pro CC從入門到精通
- EPLAN實戰設計
- Building Serverless Applications with Python
- Android項目實戰:手機安全衛士開發案例解析
- C++20高級編程
- Python Data Science Cookbook
- Julia 1.0 Programming Complete Reference Guide
- Getting Started with Nano Server