On Thu, 15 Jun 2000, Rick Petree wrote:
> Hello Everyone
>
> I have two quickie questions for you:
>
> 1. When you sent a process to the background how do you turn off the
> annoying error messages that may come up. For example: you use the find
> command to locate a file and you send this long process to the background
> and direct the output to a file that you will check later for the results.
> Well, when the find command reaches a directory that the user has no rights
> to a very annoying "Permission Denied" message is sent to the
> standard-output. How do I stop that???
Actually the error message are sent to standard error, not standard
out. You could redirect it as such:
find . -name "myfile" -print 2>/dev/null &
This will throw away all the error message but still print stdout
(aka: the path when it finds the file) to the console.
> 2. When using the nice command to change the priority of a process how
> does it work if the process is already running?? Do I need to stop the
> process or can it be done on-the-fly??
I think only root can change a process already running....try 'man nice'
--rdp
> Rick
> :-)
>
>
--
Rich Payne
[EMAIL PROTECTED] www.alphalinux.org
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************