The conversation between human and AI assistant.
How do I create a new shell in a new terminal using C programming (Linux terminal)?
Yes, please.
Okay, you can use the following code example:

system("gnome-terminal --command='sh'");

This will open a new terminal window and start a new shell in it.