Friday, August 21, 2009
Running a Shell Script in Background
How to Run a Shell Script in Background?There are times when we may have to run some shell scripts in background(i.e. backup, restore) so, that it won't disturb our other tasks.
Linux/Unix/Solaris has a beautiful option to run a "shell script in background". The option is "&"
bash# shell-script-name.sh &
"&" will run the command or shell script in background without disturbing other tasks
Featured Blog Topics:
- Xml in MySQL - http://kathyravan.blogspot.com/2008/03/xml-in-mysql.html
- Forgot mySQL root Password? - http://kathyravan.blogspot.com/2008/02/forgot-mysql-root-password.html
- Samba - Installation & Configuration - http://kathyravan.blogspot.com/2008/02/samba-installation-configuration.html
- Enabling HTTP Authentication in Apache - http://kathyravan.blogspot.com/2008/08/enabling-http-authentication-in-apache.html
- PHP Function: isFTPFileExists (Searching a FILE in FTP) - http://kathyravan.blogspot.com/2008/12/php-function-isftpfileexists-searching.html
- Shell Scripting & Linux - http://kathyravan.blogspot.com/search/label/Shell%20Scripts
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment