i would like to achieve this functionality from bash script . I want to create a multiple terminals and execute different scripts in each terminal. Check this link for more details. how to get multiple terminals using screen command
Screen command does the job, but what if how would i achieve this from bash script and run different commands in each terminal simultaneously as show below, where i want to split the screen in two regions and run top command in one terminal and take_backup script in another terminal.
#/bin/sh
screen_name1=$(screen_split vertically)
screeN_name2=$(screen_split_horizontally)
execute_command(top, screen_name1)
execute_command(take_backup, screen_name2)
I know terminator does this task, but i would like to achieve the above task without using terminator
any suggestions?