help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding command output


From: Marco Ippolito
Subject: Re: Hiding command output
Date: Sun, 11 Apr 2021 17:55:36 -0300

> Richard Stallman showed me

Where?

> ">& /dev/null", which worked for a command like
> "echo", but not for a command like "pydoc curses > file.txt”.

Try > /dev/null 2>&1 &

Example:

{ >&2 echo stderr; echo stdout; }    > /dev/null 2>&1 &


reply via email to

[Prev in Thread] Current Thread [Next in Thread]