Ubuntu – How to start gnome-terminal at a particular directory

command line

I've tried

gnome-terminal -x 'cd /path/to/dir'

and

gnome-terminal -e 'cd /path/to/dir'

but both give me errors when the new terminal opens. How do I get a new terminal to start in a specific directory?

Best Answer

Use

gnome-terminal --working-directory=/path/to/dir
Related Question