Re: Execute all processes in the background from bash.
From: Ed Morton (morton_at_lsupcaemnt.com)
Date: 05/19/04
- Previous message: Doug Freyburger: "Re: Execute all processes in the background from bash."
- In reply to: Doug Freyburger: "Re: Execute all processes in the background from bash."
- Next in thread: Doug Freyburger: "Re: Execute all processes in the background from bash."
- Reply: Doug Freyburger: "Re: Execute all processes in the background from bash."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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".
- Previous message: Doug Freyburger: "Re: Execute all processes in the background from bash."
- In reply to: Doug Freyburger: "Re: Execute all processes in the background from bash."
- Next in thread: Doug Freyburger: "Re: Execute all processes in the background from bash."
- Reply: Doug Freyburger: "Re: Execute all processes in the background from bash."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|