Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux run background

nohup ./myscript.sh &						# runs in background
nohup ./myscript.sh							# output is in nohup.out
nohup ./myscript.sh > myscript.log &		# output is in myscript.log
Comment

linux run a program in the background

# Basic syntax:
your_command & # or:
nohup your_command &
# Note, if you want to stop the job, run top or ps to get the process ID (PID)
#	and then run kill PID
Comment

PREVIOUS NEXT
Code Example
Shell :: how to set up git in linux terminal 
Shell :: get Operating system command 
Shell :: sudo: lsof: command not found 
Shell :: zoom gedit 
Shell :: bash string interpolation 
Shell :: Error: Command failed: adb shell am start -n 
Shell :: configure editor for git 
Shell :: Ping with Timestamps 
Shell :: next js npm install 
Shell :: bash script get ip address of eth0 
Shell :: untrack folder git 
Shell :: check time in linux 
Shell :: linux grep recursive 
Shell :: and in bash 
Shell :: how to install atom on manjaro 
Shell :: parameter powershell 
Shell :: git global config location 
Shell :: fatal: remote origin already exists. 
Shell :: filter npm audit only high 
Shell :: merge master with main 
Shell :: remove all containers docker 
Shell :: bash delete env variable 
Shell :: linux umount command 
Shell :: install kubectl krew 
Shell :: git clone to path 
Shell :: windows edit file cmd 
Shell :: linux speed up video 
Shell :: git merge vs git merge --no-ff 
Shell :: How to download Citrix Workspace for Ubuntu 
Shell :: nginx redirect to port 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =