Remote Network Commands
Apart from the fact that some of the above examples probably will not run under some configurations, I have encountered some strange behavior. Consider we have, as in the previous examples, two identical files: bin.tar on banana and bin.tar on orange. Now I try on orange:
ls | grep bin
The response is bin.tar. The same goes for:
rsh banana ls | grep bin
but the next one chokes:
ls | rsh banana grep bin
Piping files into a remote shell with the command dd, though, has never choked.
With the help of these commands, getting connected to other machines is made considerably easier. The rcp and rlogin commands can be almost fully substituted for commands such as ftp and telnet on your local network. Not only can you access your accounts, you might also allow other trusted users to access your accounts by means of the .rhosts file.
Finally, the rsh command enables you to generate data streams through several different machines, accessing local disk and tape drives (or anything else you are allowed to access).
Jens Hartmann (firstname.lastname@example.org) is a geophysicist at the University of Hamburg, where he uses Linux for his work.
Practical books for the most technical people on the planet. Newly available books include:
- Agile Product Development by Ted Schmidt
- Improve Business Processes with an Enterprise Job Scheduler by Mike Diehl
- Finding Your Way: Mapping Your Network to Improve Manageability by Bill Childers
- DIY Commerce Site by Reven Lerner
Plus many more.
- Non-Linux FOSS: Snk
- diff -u: What's New in Kernel Development
- Server Hardening
- 22 Years of Linux Journal on One DVD - Now Available
- Building a Multisourced Infrastructure Using OpenVPN
- Giving Silos Their Due
- Controversy at the Linux Foundation
- Don't Burn Your Android Yet
- What's New in 3D Printing, Part III: the Software