How To Run Linux Command In Background Using The Ampersand Sign
- Forums
- Linux Systems
- How To Run Linux Command In Background Using The Ampersand Sign
hello friend, in this page i will show you what you need to do in order to run a command in the background in linux [3081], Last Updated: Sat May 18, 2024
cappa
Tue Dec 06, 2011
0 Comments
493 Visits
hi, today i am going to show you what you need to do to run a command in the background when you are in the linux shell or terminal
the answer to your questions is simpe, its the & character or ampersand
hope that answers what you were looking for.
if you need an example here is one, lets say i want to backup a really huge file and i know the command its going to take a really long time, so i would just run it like this
tar -pczf MyWebSites.tar.gz www/ &
this command will create a tarball of the www directory