相关疑难解决方法(0)

如何在特定目录中启动 gnome-terminal?

我试过了

gnome-terminal -x 'cd /path/to/dir'
Run Code Online (Sandbox Code Playgroud)

gnome-terminal -e 'cd /path/to/dir'
Run Code Online (Sandbox Code Playgroud)

但是当新终端打开时,两者都会给我错误。如何让新终端在特定目录中启动?

command-line

47
推荐指数
3
解决办法
8万
查看次数

标签 统计

command-line ×1