From: Bob Berrigan <berrigan () kent ! wednet ! edu>
To: tru64-unix-managers
Subject: rsh bug using 'ls'?
Date: Tue, 24 Nov 1998 23:41:43 +0000 [thread overview]
Message-ID: <96078728412169.tru64-unix-managers.marc@archive.invalid> (raw)
When 'ls' is used with the 'rsh' command it doesn't seem
to work properly. It seems to first check the local
system and then reissue the command to the remote
system for all the files it found locally. It's hard
to explain, but here's the example:
LOCAL system has the following file:
-rw-r--r-- 1 root system 0 Nov 24 15:34 /file1
REMOTE system has the folling files:
-rw-r--r-- 1 root system 9 Nov 24 15:34 /file1
-rw-r--r-- 1 root system 9 Nov 24 15:34 /file2
-rw-r--r-- 1 root system 9 Nov 24 15:35 /file3
When logged onto LOCAL...
LOCAL> rsh REMOTE ls -l file*
-rw-r--r-- 1 root system 9 Nov 24 15:34 file1
NOTICE that it doesn't return 'file2' & 'file3'!!!!
If I create a 'file2' on LOCAL, it will find 'file1' & 'file2'
on REMOTE, but not 'file3'. BUT, if I DELETE 'file1' on LOCAL,
it will return all three files on REMOTE.
Is this the expected behavior of 'rsh' when using the 'ls'
command or is this a bug?
Thanks,
Bob Berrigan
Kent School District
berrigan@kent.wednet.edu
reply other threads:[~1998-11-24 23:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox