
我在我的筆記型電腦上下載了 Google Chrome,我想找到它與 Windows 路徑相比的位置,使用它,基本上用於文字轉語音項目。
在 Windows 上,它位於此處:
chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'
如何取得 Linux 上的路徑?我試過:
(MoodBotEnv) mike@mike-thinks:~/Programing/Rasa/moodbot$ which chrome
(MoodBotEnv) mike@mike-thinks:~/Programing/Rasa/moodbot$ which google*
(MoodBotEnv) mike@mike-thinks:~/Programing/Rasa/moodbot$ where google*
No command 'where' found, did you mean:
Command 'gwhere' from package 'gwhere' (universe)
where: command not found
而且「搜尋您的電腦」左上角的按鈕也不提供路徑。
答案1
如果您已經安裝了穩定版的 Google Chrome,請執行以下命令來尋找其位置
whereis google-chrome-stable
或者
which google-chrome-stable