# Define program
program=remmina
# Method 1
nohup $program &
# Method 2
$program &
disown -h %1 # assuming jobs return [1] as the id
# Method 3
$program </dev/null &>/dev/null &
# Checking
kim@kimlinux:~$ jobs
[1]- Running remmina &
[2]+ Done $program < /dev/null &> /dev/null
# Stop program abruptly
pkill $program
Categories: