Skip to content

Instantly share code, notes, and snippets.

@kevin-kientopp
Created September 20, 2017 02:14
Show Gist options
  • Save kevin-kientopp/5211cac1afcb8af3d69fdde3febb3c58 to your computer and use it in GitHub Desktop.
Save kevin-kientopp/5211cac1afcb8af3d69fdde3febb3c58 to your computer and use it in GitHub Desktop.
Open a terminal with multiple tabs and execute commands in each of them
gnome-terminal --tab -e "bash -c 'date; exec bash -i'" --tab-with-profile=Unnamed -e "bash -c 'ls -al /usr/bin; exec bash -i'" --tab-with-profile=Unnamed -e "bash -c 'java -version; exec bash -i'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment