
我想透過 Firefox 上的多個插件(特別是 CFX)來優化我的圖形體驗,但為了實現這一點,我需要指定 Firefox 的二進位文件,以便驅動程式可以將設定強製到它上面。二進位檔案在哪裡?
答案1
有一個命令可以做到這一點:
which firefox
/usr/bin/firefox
從手冊頁which
:
HICH(1) 通用指令手冊 WHICH(1)
NAME
which - locate a command
SYNOPSIS
which [-a] filename ...
DESCRIPTION
which returns the pathnames of the files (or links) which would be exe‐
cuted in the current environment, had its arguments been given as com‐
mands in a strictly POSIX-conformant shell. It does this by searching
the PATH for executable files matching the names of the arguments. It
does not follow symbolic links.