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.
Getting Started with DevOps - Including New Data on IT Performance from Puppet Labs 2015 State of DevOps Report
August 27, 2015
12:00 PM CDT
DevOps represents a profound change from the way most IT departments have traditionally worked: from siloed teams and high-anxiety releases to everyone collaborating on uneventful and more frequent releases of higher-quality code. It doesn't matter how large or small an organization is, or even whether it's historically slow moving or risk averse — there are ways to adopt DevOps sanely, and get measurable results in just weeks.
Free to Linux Journal readers.Register Now!
- Django Models and Migrations
- Hacking a Safe with Bash
- Secure Server Deployments in Hostile Territory, Part II
- The Controversy Behind Canonical's Intellectual Property Policy
- Home Automation with Raspberry Pi
- Shashlik - a Tasty New Android Simulator
- Huge Package Overhaul for Debian and Ubuntu
- KDE Reveals Plasma Mobile
- Embed Linux in Monitoring and Control Systems
- diff -u: What's New in Kernel Development