Horje
bash run a command in the background Code Example
bash run a command 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
how to run command in background bash linux
#Method 1 
xmgrace & 
your_commands &

# Method 2
nohup your_commands &
eg : nohup cp Home/my_dir ./ &
#this will give you several " nohup.out file

#method 3
nohup some_command > nohup2.out&
bash run in background
# To run a command in the background, you can add & after a command.
# When this happens, there will be output to the terminal that shows
# the process ID of the command.
# Example:
conky & # This runs conky in the background (I have no example ideas)




Shell

Related
time machine speed up Code Example time machine speed up Code Example
upgrade to composer 2 windows Code Example upgrade to composer 2 windows Code Example
install bootstrap laravel 8 Code Example install bootstrap laravel 8 Code Example
how to check git changes before commit Code Example how to check git changes before commit Code Example
convert all files to lowercase using shell script Code Example convert all files to lowercase using shell script Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13