[kwlug-disc] Linux 'equivalent' to Windows 'start' command.

Chris Irwin chris at chrisirwin.ca
Thu Aug 15 17:39:38 EDT 2013


On Thu, Aug 15, 2013 at 2:39 PM, unsolicited <unsolicited at swiz.ca> wrote:

>
> [...] Extending your note things become
>
> {cmd} > /dev/null 2>&1 <&1 &
>

Assuming you're otherwise happy with this, it appears that using the
bash-builtin `disown` prevents the exit status from being written to your
terminal.

You could always stick a function in your ~/.bashrc to simulate the `start`
command:

start()
{
    ${1} >/dev/null 2>&1 <&1 &
    disown
}


-- 
Chris Irwin
<chris at chrisirwin.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20130815/66d098f5/attachment.htm>


More information about the kwlug-disc mailing list