Re: [問題] 關於tcpdump ,bc

看板Linux作者 (習慣)時間17年前 (2008/09/23 09:06), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
※ 引述《Maxsolar.bbs@OfO.twbbs.org (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 。 -- 人不作出犧牲,便得不到任何收穫;如果要得到某種東西,就必須付出同等代價。這一點 ,就是鍊金術的基本原則 ── 等價交換。當時我們深信這一點就是世界的真理。 阿爾風斯‧愛力克,《鋼之鍊金術師》開場白 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.133.134.243
文章代碼(AID): #18s44l4X (Linux)
文章代碼(AID): #18s44l4X (Linux)