Try this:
gnome-terminal --tab -- "/bin/bash -c '/usr/bin/myprog; exec /bin/bash -i'"
More Related Contents:
- Using the “alternate screen” in a bash script
- How to use ‘cp’ command to exclude a specific directory?
- Run text file as commands in Bash
- Clear a terminal screen for real [closed]
- Error “syntax error near unexpected token ‘(‘” in Bash script when selecting files
- BASH copy all files except one
- create a file with prefix =file1 followed by the random number
- How to read a file line by line and making a new file for each line having same filename as last word of each line? [closed]
- Why to code a script which will check if some package is installed in linux and if not then install it?
- How to permanently set $PATH on Linux/Unix [closed]
- How do I use sudo to redirect output to a location I don’t have permission to write to? [closed]
- Aborting a shell script if any command returns a non-zero value
- Bash ignoring error for a particular command
- Use sudo with password as parameter [closed]
- Bash script process substitution Syntax error: “(” unexpected
- What is the difference between using `sh` and `source`?
- Setting environment variables in Linux using Bash
- Get the Perl rename utility instead of the built-in rename
- Run a shell command when a file is added
- How do I syntax check a Bash script without running it?
- Pass a password to ssh in pure bash
- extracting unique values between 2 sets/files
- Linux non-blocking fifo (on demand logging)
- Variable in Bash Script that keeps it value from the last time running
- bash command not found when setting a variable
- How to obtain the number of CPUs/cores in Linux from the command line?
- How do I get cURL to not show the progress bar?
- Move all files except one
- Linux: remove file extensions for multiple files
- Joining multiple fields in text files on Unix