關於tcpdump ,bc - Linux

By Andy
at 2008-09-23T09:06
at 2008-09-23T09:06
Table of Contents
※ 引述《[email protected] (Astro v.s. Geo)》之銘言:
[容刪]
: : 後來我輸入man bc卻查得出此指令的使用方法
: 很顯然的,是path問題
: which bc可以得知bc位置
: 你利用export $PATH可以發現你的path並沒有包含該位置。
[容刪]
: : 如果可以的話想請大家幫我解答
: : 非常感激
: 因為你沒裝...
: 利用which tcpdump || urpmi tcpdump
: 不過,確實有些指令是沒有man page的,這時可以用info或是去翻他的文件才行。
上面的回答,好像,有點問題,
ㄟ~ 我記得 which 可以找 command 沒有錯,
不過 which 是在 path 裡面依順序找可執行的檔案
man which 可以得到 description 如下:
which returns the pathnames of the files which would be executed in the
current environment, had its arguments been given as commands in a
strictly POSIX-conformant shell. It does this by searching the PATH
for executable files matching the names of the arguments.
所以,我推論 Maxsolar 想說的應該是 locate 。
--
人不作出犧牲,便得不到任何收穫;如果要得到某種東西,就必須付出同等代價。這一點
,就是鍊金術的基本原則 ── 等價交換。當時我們深信這一點就是世界的真理。
阿爾風斯‧愛力克,《鋼之鍊金術師》開場白
--
[容刪]
: : 後來我輸入man bc卻查得出此指令的使用方法
: 很顯然的,是path問題
: which bc可以得知bc位置
: 你利用export $PATH可以發現你的path並沒有包含該位置。
[容刪]
: : 如果可以的話想請大家幫我解答
: : 非常感激
: 因為你沒裝...
: 利用which tcpdump || urpmi tcpdump
: 不過,確實有些指令是沒有man page的,這時可以用info或是去翻他的文件才行。
上面的回答,好像,有點問題,
ㄟ~ 我記得 which 可以找 command 沒有錯,
不過 which 是在 path 裡面依順序找可執行的檔案
man which 可以得到 description 如下:
which returns the pathnames of the files which would be executed in the
current environment, had its arguments been given as commands in a
strictly POSIX-conformant shell. It does this by searching the PATH
for executable files matching the names of the arguments.
所以,我推論 Maxsolar 想說的應該是 locate 。
--
人不作出犧牲,便得不到任何收穫;如果要得到某種東西,就必須付出同等代價。這一點
,就是鍊金術的基本原則 ── 等價交換。當時我們深信這一點就是世界的真理。
阿爾風斯‧愛力克,《鋼之鍊金術師》開場白
--
Tags:
Linux
All Comments
Related Posts
音效問題

By Una
at 2008-09-23T08:54
at 2008-09-23T08:54
sendmail外加套件fml的問題

By Audriana
at 2008-09-23T01:53
at 2008-09-23T01:53
Fedora安裝nvidia驅動的問題

By Hedy
at 2008-09-22T23:41
at 2008-09-22T23:41
Debian Lenny 區域網路動不起來

By Robert
at 2008-09-22T20:47
at 2008-09-22T20:47
請問cvsmonitor的問題..

By Todd Johnson
at 2008-09-22T15:58
at 2008-09-22T15:58