firefox /dev/null & disown
Without the “disown” you’ll get the following output in the source terminal after the given program is closed:
“[1]+ Done firefox /dev/null”
This only happens the next time something is put out to the terminal’s output stream. So, the next time command runs that writes to the output stream.
To test this, run it without “disown”, close firefox, and then run “ls”.
]]>so I made a systemd service file and the execution command is “java -jar server.jar nogui” now once the system is up and running, I would like to open the GUI or console of the Minecraft server to issue commands without having to open a Minecraft launcher like you would play the game. I know I have done something like this in the past on other platforms but I just don’t know enough about Minecraft/java to make this happen.
I am using ubuntu 18.04 and the current version of the Minecraft is 1.15.2
]]>@Bala
You can run this command:
ps -fu username
#replace username with your real username
OR
ps -x