Re: Execute all processes in the background from bash.

From: Doug Freyburger (dfreybur_at_yahoo.com)
Date: 05/20/04

  • Next message: Kevin Collins: "Re: Execute all processes in the background from bash."
    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.


  • Next message: Kevin Collins: "Re: Execute all processes in the background from bash."

    Relevant Pages