Contents
How do I run a program in Linux command line?
To execute a program, you only need to type its name. You may need to type ./ before the name, if your system does not check for executables in that file. Ctrl c – This command will cancel a program that is running or wont automatically quite. It will return you to the command line so you can run something else.
How do I run a process in the background in Linux?
You can send an already running foreground job to background as explained below:
- Press ‘CTRL+Z’ which will suspend the current foreground job.
- Execute bg to make that command to execute in background.