我试过了
gnome-terminal -x 'cd /path/to/dir'
和
gnome-terminal -e 'cd /path/to/dir'
但是当新终端打开时,两者都会给我错误。如何让新终端在特定目录中启动?
command-line
command-line ×1