{"id":5614,"date":"2012-05-25T11:41:48","date_gmt":"2012-05-25T06:11:48","guid":{"rendered":"https:\/\/2thenew.today\/blog\/?p=5614"},"modified":"2017-05-10T16:53:47","modified_gmt":"2017-05-10T11:23:47","slug":"bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up","status":"publish","type":"post","link":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/","title":{"rendered":"Bash script to open a terminal with multiple tabs on Linux start-up"},"content":{"rendered":"<p>All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below :<\/p>\n<p><strong>1. Write a script<\/strong>:-<\/p>\n<p>[bash]<br \/>\nsleep 1m;gnome-terminal &#8211;geometry=150&#215;50 &#8211;tab &#8211;title=&quot;echo&quot; -e &quot;bash -c \\&quot;echo &quot;hello&quot;;echo &quot;there&quot;;exec bash\\&quot;&quot; &#8211;tab &#8211;title=&quot;idea&quot; -e &quot;bash -c \\&quot;\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\&quot;&quot; &#8211;tab &#8211;title=&quot;sql&quot; -e &quot;bash -c \\&quot;mysql -uroot -pigdefault;\\&quot;&quot; &#8211;tab &#8211;title=&quot;firefox&quot; -e &quot;bash -c \\&quot;\/usr\/bin\/firefox www.gmail.com;\\&quot;&quot;<br \/>\n[\/bash]<\/p>\n<p>The script above will open a terminal with 4 tabs :<\/p>\n<ol>\n<li>echo &#8220;hello there&#8221;<\/li>\n<li>Idea<\/li>\n<li>MySql<\/li>\n<li>Firefox<\/li>\n<\/ol>\n<p>The script will also set the titles in the terminal for each tab.<\/p>\n<p>One can personalize the above script accordingly.<\/p>\n<p>Description of the script :-<\/p>\n<p>sleep 1m\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 \u00a0\u00a0 : Executes the script after 1 minute so that system finishes its startup process.<br \/>\ngnome-terminal\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0 : Open a terminal.<br \/>\n&#8211;geometry=150&#215;50 \u00a0\u00a0\u00a0\u00a0\u00a0 : Set screen size for terminal.<br \/>\n&#8211;tab\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0 : Open new tab<br \/>\n&#8211;title\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 \u00a0 : Set title for the terminal<br \/>\n-e\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Execute the argument inside the terminal.<br \/>\nexec bash\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Starts a new bash after executing all the commands. This command is required if you do not want to close the current tab .<\/p>\n<p><strong>2<\/strong>. <strong>Save the script anywhere in the file system and make the file executable using the following command:<\/strong><\/p>\n<p>[bash]<br \/>\n$chmod +x file.sh<br \/>\n[\/bash]<\/p>\n<p><strong>3. Add this file to startup applications<\/strong> :-<\/p>\n<p>Go to\u00a0 System &gt; Preferences &gt; Startup Applications<\/p>\n<p>Click on add\u00a0 and in command write-<\/p>\n<p>[bash]<br \/>\nbash path\/to\/your\/file.sh<br \/>\n[\/bash]<\/p>\n<p>Close and its done!<\/p>\n<p>Next time when you start your system, all the tasks mentioned in the script will be automated.<\/p>\n<p>Hope this helped!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal &#8211;geometry=150&#215;50 &#8211;tab &#8211;title=&quot;echo&quot; -e &quot;bash -c \\&quot;echo &quot;hello&quot;;echo &quot;there&quot;;exec bash\\&quot;&quot; &#8211;tab &#8211;title=&quot;idea&quot; -e &quot;bash -c \\&quot;\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\&quot;&quot; &#8211;tab &#8211;title=&quot;sql&quot; -e &quot;bash [&hellip;]<\/p>\n","protected":false},"author":42,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":71,"footnotes":""},"categories":[1],"tags":[475,823,260,474,453,821,822],"class_list":["post-5614","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bash","tag-gnome","tag-linux","tag-script","tag-shell","tag-startup","tag-terminal"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title=&quot;echo&quot; -e &quot;bash -c \\&quot;echo &quot;hello&quot;;echo &quot;there&quot;;exec bash\\&quot;&quot; --tab --title=&quot;idea&quot; -e &quot;bash -c \\&quot;\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\&quot;&quot; --tab --title=&quot;sql&quot; -e &quot;bash\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nitesh\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title=&quot;echo&quot; -e &quot;bash -c \\&quot;echo &quot;hello&quot;;echo &quot;there&quot;;exec bash\\&quot;&quot; --tab --title=&quot;idea&quot; -e &quot;bash -c \\&quot;\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\&quot;&quot; --tab --title=&quot;sql&quot; -e &quot;bash\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title=&quot;echo&quot; -e &quot;bash -c \\&quot;echo &quot;hello&quot;;echo &quot;there&quot;;exec bash\\&quot;&quot; --tab --title=&quot;idea&quot; -e &quot;bash -c \\&quot;\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\&quot;&quot; --tab --title=&quot;sql&quot; -e &quot;bash\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#article\",\"name\":\"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog\",\"headline\":\"Bash script to open a terminal with multiple tabs on Linux start-up\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nitesh\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2012-05-25T11:41:48+05:30\",\"dateModified\":\"2017-05-10T16:53:47+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":4,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#webpage\"},\"articleSection\":\"Technology, bash, gnome, Linux, script, shell, startup, terminal\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#listItem\",\"name\":\"Bash script to open a terminal with multiple tabs on Linux start-up\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#listItem\",\"position\":3,\"name\":\"Bash script to open a terminal with multiple tabs on Linux start-up\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nitesh\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nitesh\\\/\",\"name\":\"Nitesh\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7a643fc83e3333024306c9625557c6bfea7cf3bd570a7adcebe2bd44b91b663c?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Nitesh\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/\",\"name\":\"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog\",\"description\":\"All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title=\\\"echo\\\" -e \\\"bash -c \\\\\\\"echo \\\"hello\\\";echo \\\"there\\\";exec bash\\\\\\\"\\\" --tab --title=\\\"idea\\\" -e \\\"bash -c \\\\\\\"\\\/opt\\\/idea-IU-111.69\\\/bin\\\/idea.sh;exec bash\\\\\\\"\\\" --tab --title=\\\"sql\\\" -e \\\"bash\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nitesh\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nitesh\\\/#author\"},\"datePublished\":\"2012-05-25T11:41:48+05:30\",\"dateModified\":\"2017-05-10T16:53:47+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog","description":"All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title=\"echo\" -e \"bash -c \\\"echo \"hello\";echo \"there\";exec bash\\\"\" --tab --title=\"idea\" -e \"bash -c \\\"\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\\"\" --tab --title=\"sql\" -e \"bash","canonical_url":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#article","name":"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog","headline":"Bash script to open a terminal with multiple tabs on Linux start-up","author":{"@id":"https:\/\/2thenew.today\/blog\/author\/nitesh\/#author"},"publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"},"datePublished":"2012-05-25T11:41:48+05:30","dateModified":"2017-05-10T16:53:47+05:30","inLanguage":"en-US","commentCount":4,"mainEntityOfPage":{"@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#webpage"},"articleSection":"Technology, bash, gnome, Linux, script, shell, startup, terminal"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.today\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/2thenew.today\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#listItem","name":"Bash script to open a terminal with multiple tabs on Linux start-up"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#listItem","position":3,"name":"Bash script to open a terminal with multiple tabs on Linux start-up","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.today\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.today\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.today\/blog\/author\/nitesh\/#author","url":"https:\/\/2thenew.today\/blog\/author\/nitesh\/","name":"Nitesh","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/7a643fc83e3333024306c9625557c6bfea7cf3bd570a7adcebe2bd44b91b663c?s=96&d=mm&r=g","width":96,"height":96,"caption":"Nitesh"}},{"@type":"WebPage","@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#webpage","url":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/","name":"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog","description":"All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title=\"echo\" -e \"bash -c \\\"echo \"hello\";echo \"there\";exec bash\\\"\" --tab --title=\"idea\" -e \"bash -c \\\"\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\\"\" --tab --title=\"sql\" -e \"bash","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.today\/blog\/author\/nitesh\/#author"},"creator":{"@id":"https:\/\/2thenew.today\/blog\/author\/nitesh\/#author"},"datePublished":"2012-05-25T11:41:48+05:30","dateModified":"2017-05-10T16:53:47+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.today\/blog\/#website","url":"https:\/\/2thenew.today\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog","og:description":"All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title=&quot;echo&quot; -e &quot;bash -c \\&quot;echo &quot;hello&quot;;echo &quot;there&quot;;exec bash\\&quot;&quot; --tab --title=&quot;idea&quot; -e &quot;bash -c \\&quot;\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\&quot;&quot; --tab --title=&quot;sql&quot; -e &quot;bash","og:url":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/","og:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Bash script to open a terminal with multiple tabs on Linux start-up | TO THE NEW Blog","twitter:description":"All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title=&quot;echo&quot; -e &quot;bash -c \\&quot;echo &quot;hello&quot;;echo &quot;there&quot;;exec bash\\&quot;&quot; --tab --title=&quot;idea&quot; -e &quot;bash -c \\&quot;\/opt\/idea-IU-111.69\/bin\/idea.sh;exec bash\\&quot;&quot; --tab --title=&quot;sql&quot; -e &quot;bash","twitter:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"5614","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 15:06:07","updated":"2024-02-29 09:26:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.today\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.today\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBash script to open a terminal with multiple tabs on Linux start-up\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.today\/blog"},{"label":"Technology","link":"https:\/\/2thenew.today\/blog\/category\/technology\/"},{"label":"Bash script to open a terminal with multiple tabs on Linux start-up","link":"https:\/\/2thenew.today\/blog\/bash-script-to-open-a-terminal-with-multiple-tabs-on-linux-start-up\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/5614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/comments?post=5614"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/5614\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/media?parent=5614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/categories?post=5614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/tags?post=5614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}