Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to automate my morning routine at work a little bit. I need to run gnome-terminal with few tabs and set directory for each. When I run this command:

gnome-terminal --maximize --tab --title=SERVER --tab --title=GIT --command 'cd ~/work'

I get error about executing child process "cd" (BTW. It works with 'ssh somehost'). How can I set dir in each of tabs?

Extra question: Is it possible to launch terminal window on second screen? There is option --display=SCREEN, but I don't know, what value is right.

share|improve this question
--working-directory=DIRNAME Set the working directory –  don_crissti May 31 '13 at 12:08
add comment

migrated from stackoverflow.com May 31 '13 at 9:26

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.