commands

How to start a Linux command in background

Submitted by admin on Sun, 05/19/2019 - 09:43

Start a Linux Process or a Command in Background

simply press Ctrl+Z to stop it then enter the command bg to continue with its execution in the background as a job. Or you can use the ampersand sign & at the end of a command to directly run a process in the background 

# some_long_command &

You can view all your background jobs by typing jobs

 

Useful Linux Commands

Submitted by admin on Tue, 08/02/2016 - 19:32

Dealing with crontab

crontab [-u user] [-l | -r | -e] [-i] [-s]
-u  user Specifies the user whose crontab is to be viewed or modified. If this option is not given, crontab opens the crontab of the user who ran crontab.