rsh machine -n 'command >&/dev/null </dev/null &'

rsh machine -n 'command >&/dev/null </dev/null &'

Post by Francois-Michel La » Sun, 12 Jun 1994 04:52:22



My copy of the Unix FAQ suggests syntax like this

            rsh machine -n 'command >&/dev/null </dev/null &'

for running rsh (assuming I use csh on the remote machine, and
something similar if I use sh remotely).  This has always worked
fine for me under SunOS 4.1.2.

My question is: Will this magic necessary under Solaris 2.X?

Many thanks!
---
------------------------------------------------------------------
Francois-Michel Lang          (202) 752-6067   FAX: (202) 752-5074


 
 
 

1. HELP: 2>&1 > /dev/null != 2>&- > /dev/null ???

In /bin/sh, I tried to redirect the standard error and standard output to
/dev/null.

I still has the error message from the following command:

        ls /xyz 2>&1 > /dev/null

but not from the following command:

        ls /xyz 2>&- > /dev/null

I thought >&1 is the same as >&-. Any comments are appreciated.

Thank you.

Larry

2. SCSI scanner support?

3. Why does SunOS crash for '(cmd &) >& /dev/null'?

4. Caldera glint broken

5. setting 2>&1 >>/dev/null for a chunk of script

6. Looking for a client for PUT

7. TOSS_OUTPUT=' >/dev/null' doesn't work

8. ISDN problem

9. cp /dev/null or cat /dev/null

10. find <dir> -name '<file>' -print 2>&/dev/null WON'T work !!

11. >/dev/msglog 2<>/dev/msglog </dev/console

12. Test > &> /dev/null