Linux starts the terminal through the command and executes the command

Take Ubuntu operating system as an example:

gnome-terminal -x bash -c 'command; exec bash' For

example:

gnome-terminal -x bash -c 'python manage.py; exec bash'





Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326758893&siteId=291194637