linux - how to split terminal from bash -


i achieve functionality bash script . want create multiple terminals , execute different scripts in each terminal. check link more details. how multiple terminals using screen command

screen command job, if how achieve bash script , run different commands in each terminal simultaneously show below, want split screen in 2 regions , run top command in 1 terminal , take_backup script in 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 task, achieve above task without using terminator

any suggestions?


Comments