Re: Execute all processes in the background from bash.

From: Ed Morton (morton_at_lsupcaemnt.com)
Date: 05/19/04

  • Next message: Ash: "Re: How To Make Shared Memory (mmap woun't do it!) Aliased To Pre-Existing C Struct Memory?"
    Date: Wed, 19 May 2004 15:23:56 -0500
    
    

    Doug Freyburger wrote:

    <snip>
    > All/every? I use ls, cd and so on often enough that would be a
    > disaster for me.
    >
    > 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.

    > exit

    No need for the exit.

            Ed.
    >
    > Then I would type most of my commands normally and "x mozilla".
    > Since you mentioned mozilla, you probably want to use "nohup" rather
    > than "time".


  • Next message: Ash: "Re: How To Make Shared Memory (mmap woun't do it!) Aliased To Pre-Existing C Struct Memory?"

    Relevant Pages


  • Quantcast