Replace "ifconfig" and "ping ..." with your own commands. The "exec bash" part is necessary so that the tab doesn't close when the command is finished.
#!/bin/sh gnome-terminal \ --tab -e "bash -c \"ifconfig; exec bash\"" \ --tab -e "bash -c \"ping www.google.com; exec bash\""

Keine Kommentare:
Kommentar veröffentlichen