Nguyễn Hồ Ngọc Anh
Member
How do I run a Linux command in the background?
Answer
To run a job in the background, you need to
enter the command that you want to run, followed by an ampersand (&) symbol at the end of the command line. For example, run the sleep command in the background. The shell returns the job ID, in brackets, that it assigns to the command and the associated PID.
Answer
To run a job in the background, you need to
enter the command that you want to run, followed by an ampersand (&) symbol at the end of the command line. For example, run the sleep command in the background. The shell returns the job ID, in brackets, that it assigns to the command and the associated PID.