i am working on solaris environment. i want find size of a file on remote system..
i.e at present i am in user1 system, from user1, i want to find size of a file in user2 system ...

You can
- do rsh/ssh/telnet to execute the ls/stat command and get it's output.
- do cp/rcp/scp to get the file itself to local machine and find out the size.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.