Question

Now i'm executing next command

gnome-terminal  --tab -e "run1"  --tab -e "run2"

But run1 and run2 not in my home dir, how can i point shell to right dir. "my_dir1/my_dir2/runX" - not a case.

Was it helpful?

Solution

The manual (man) is your friend.

man gnome-terminal reveals the option

--working-directory=DIRNAME
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top