Re: Execute all processes in the background from bash.
From: Doug Freyburger (dfreybur_at_yahoo.com)
Date: 05/20/04
- Previous message: Bit Twister: "Re: Bash, readline, initial mode with vi line-editing"
- In reply to: Ed Morton: "Re: Execute all processes in the background from bash."
- Next in thread: Kevin Collins: "Re: Execute all processes in the background from bash."
- Reply: Kevin Collins: "Re: Execute all processes in the background from bash."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 May 2004 08:57:01 -0700
Ed Morton wrote:
> Doug Freyburger wrote:
>
> > When I intend to run a command very often, I write a small script
> > and name it "x" somewhere in my path. It would be something like:
>
> > #! /bin/bash
> > time ${1} &
>
> You might want to make the above:
> time "$@" &
> so you capture arguments.
Good point.
> > exit
>
> No need for the exit.
True but there isn't necessarily need for the magic number in the first
line, either. I put them into all of my scripts for cleanliness reasons.
- Previous message: Bit Twister: "Re: Bash, readline, initial mode with vi line-editing"
- In reply to: Ed Morton: "Re: Execute all processes in the background from bash."
- Next in thread: Kevin Collins: "Re: Execute all processes in the background from bash."
- Reply: Kevin Collins: "Re: Execute all processes in the background from bash."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|