which和whereis
生活随笔
收集整理的這篇文章主要介紹了
which和whereis
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文章目錄
- 1 which和whereis
1 which和whereis
目的: 查找命令或應用程序的所在位置
格式: which 命令名/應用程序名
舉例:
- which pwd 定位到/bin/pwd
- which gcc 定位到/usr/bin/gcc
- whereis pwd 查找到可執行程序的位置/bin/pwd和手冊頁的位置/usr/share/man/man1/pwd.1.gz
總結
以上是生活随笔為你收集整理的which和whereis的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 内存泄露检测工具--VisualC++
- 下一篇: 马自达09款mx5用的什么品牌的变速箱?