I created a script to run my react build on port 5555
and on running it, I get
I want to quit this process without killing the server.
How can I do it?
Output with &
I created a script to run my react build on port 5555
and on running it, I get
I want to quit this process without killing the server.
How can I do it?
Output with &
What you are looking for is sending the current foreground job to the background. You can simply achieve this by:
suspending the current job. [CTRL-Z]
then,
send the job to the background. bg
To see if the the job has being successfully send to the background, run:
jobs
Another method would be starting the process in the background. To achieve this, include an ampersand "&" at the end of the command. Example;
if my script name is process1, I will run it using ./process1 &
.
Success!
/dev/null
. Try running homepage &>/dev/null
.
– Kulfy
Jan 31 '21 at 14:35
screen
detached. – EODCraft Staff Jan 31 '21 at 14:30