You get a bonus - 1 coin for daily activity. Now you have 1 coin

Running a shell script as a background process

Practice



To run some script in the background so that it keeps working and can print messages to the console, but so that right after launching it we get the command line back (or some script that launches the target script in the background continues executing) — you need to put an "&" sign after the launch line:

$ ./myscript &
 

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "LINUX operating system"

Terms: LINUX operating system