Comments on: How to Run Linux Commands in Background and Detach in Terminal https://www.tecmint.com/run-linux-command-in-background/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 18:34:10 +0000 hourly 1 By: Maska https://www.tecmint.com/run-linux-command-in-background/comment-page-1/#comment-2023845 Thu, 08 Jun 2023 21:43:39 +0000 http://www.tecmint.com/?p=23041#comment-2023845 Hey, Thanks for this little Linux tip, useful for me to make my Linux commands run in the background…

]]>
By: Gustav Streicher https://www.tecmint.com/run-linux-command-in-background/comment-page-1/#comment-1703644 Mon, 17 Jan 2022 23:50:21 +0000 http://www.tecmint.com/?p=23041#comment-1703644 A slight improvement:

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”.

]]>
By: Eric Brooks https://www.tecmint.com/run-linux-command-in-background/comment-page-1/#comment-1319638 Sun, 01 Mar 2020 21:24:16 +0000 http://www.tecmint.com/?p=23041#comment-1319638 I see this is an old post but I think my question is sort of in the ballpark. what I would like to do is open the console of the process that was started with systemd with a no GUI flag. what this pertains to the Minecraft server.

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

]]>
By: Aaron Kili https://www.tecmint.com/run-linux-command-in-background/comment-page-1/#comment-1158936 Fri, 31 May 2019 12:36:36 +0000 http://www.tecmint.com/?p=23041#comment-1158936 In reply to bala divvela.

@Bala

You can run this command:
ps -fu username #replace username with your real username
OR
ps -x

]]>
By: bala divvela https://www.tecmint.com/run-linux-command-in-background/comment-page-1/#comment-1158863 Fri, 31 May 2019 01:23:13 +0000 http://www.tecmint.com/?p=23041#comment-1158863 How to see the jobs running in the previous session? I have submitted jobs in nohup and logged out. After logging again if i wanna see the jobs and if I wanna kill, how to do so

]]>