dude, in = 0 out = 1 err = 2
and by putting >2 in after your grep foo command your redirecting your stdout to a file called 2. to redirect stderr to /dev/null u can do: %du -a / | grep foo 2>/dev/null regards, Ed. Quoting pura life CR ([EMAIL PROTECTED]): > (1) Hi, I would like to know how can I redirect stdin, stdout and/or stderr > from an interactive shell? > > (2) I am confused, it's smthg like %du -a / | grep foo >2 /dev/null ? > In this case, I am looking for certain files and I dont want to view > annonying message such as "permised denied" so the goal is redirect stderr > to /dev/null, howto??. > > > regards, > > > > > _________________________________________________________________ > Únete al mayor servicio mundial de correo electrónico: > http://www.hotmail.com > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message -- Edmond Baroud UNIX Systems Admin mailto:[EMAIL PROTECTED] Fingerprint 140F 5FD5 3FDD 45D9 226D 9602 8C3D EAFB 4E19 BEF9 "UNIX is very user friendly, it's just picky about who its friends are." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message