How to write ctrl+z,bg commands in sequence in bash script
On 22 August 2011 08:18, Amrit Pal Pathak <amritpalpathak1@gmail.com> wrote:
> *I want to use ctrl+z ,bg commands in a sequence in my script.Can anyone
> please tell me how i can do it.?
Stick an ampersand at the end of the line you want to background. Like this:-
#!/bin/bash
command_one &
command_two
First command one will kick off and immediately go into the background
then command two will start.
Al.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|