I used screen npm run start
to run a Nuxt project on the Alibaba Cloud server,
now let's turn it off
We first find the screen session number of the running program through screen -ls.
The information output by the system tells us that there is only one screen session 731
, then we can pass
screen -r 会话编号
To visit him,
here is screen -r 731
, so that we can retrieve the previously started program,
just press Ctrl + C to end his operation
This way our program closes