Firefox 的主要二进制文件在哪里?

Firefox 的主要二进制文件在哪里?

我想使用 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.

相关内容