
ノートパソコンに 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