When in terminal I type firefox (only an example) the browser starts but terminal is locked - by locked I mean that I can’s use it till I close firefox or kill firefox with ctrl+c
I know that I can run applications this way: firefox &
That’s ok but can I do something if I run firefox without & by mistake?
Can I move the process to the background and be able to use this instance of terminal?
Maybe I don’t understand something so to the point
If I start application from the terminal and as an example
firefox
Pure firefox without any prefixes or suffixes.
Then I have to close firefox to “free” terminal? (close firefox = press close button on firefox or use ctrl+c shortcut in terminal)
Yes. The terminal when starts an application like that, or any command that is still running, is in a JOB state. When you give the terminal more specifics, then things can be controlled differently, but for that you need to master terminal commands. I’m not one of those, so maybe someone else passes by with more suggestions for you.
Actually you can type CTRL+Z and then put firefox to background with bg and then run it in background with bg %jobid. Where jobid is the number which can be found out with jobs command.