Answer:
You can press ALT-F2 or CTRL-ALT-F2 to open an alternate console screen and access a new shell session.
Step-by-step explanation:
Pressing ALT-F2 or CTRL-ALT-F2 will open an alternate console. You can use this console to perform other tasks without stopping the program running in the first console screen. You can switch back by pressing ALT-F1 or CTRL-ALT-F1.
So you do the above trick to run both your other functions in a shell while still running your current application.