MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

File Copying and Transfer between two machine

rajeshkumar created the topic: File Copying and Transfer between two machine

File Copying and Transfer between two machine or within machine.

Command 1: cp – Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.

Command 2: ftp – ARPANET file transfer program (put / get

Command 3: rsh – Runs a command on another computer.
Rsh connects to the specified host, and executes the specified command. Rsh copies its standard input to the remote command, the standard output of the remote command to its standard output, and the standard error of the remote command to its standard error. This implementation of rsh will accept any port for the standard error stream. Interrupt, quit and terminate signals are propagated to the remote command; rsh normally terminates when the remote command does.

rsh otherhost cat remotefile >> localfile

Command 4: rlogin

Command 5: kerberos – introduction to the Kerberos system
The Kerberos system authenticates individual users in a network environment. After authenticating yourself to Kerberos, you can use network utilities such as rlogin, rcp, and rsh without having to present passwords to remote hosts and without having to bother with .rhosts files. Note that these utilities will work without passwords only if the remote machines you deal
with support the Kerberos system.

Kerberos is a network authentication protocol. It is designed to provide strong authentication for client/server applications by using secret-key cryptography.

Command 6: rcp
Rcp copies files between machines. Each file or directory argument is either a remote file name of the form “rname@rhost:path”, or a local file name (containing no `:’ characters, or a `/’ before any `:’s).

The command rcp copies files between computer systems. To be able to use the rcp command, both computers need a “.rhosts” file in the user’s home directory, which would contain the names of all the computers that are allowed to access this computer along with the user name. Here is an example of an .rhosts file:
zeus.univ.edu jdoe
athena.comp.com mjohnson

The ftp command can be used to copy files between computers if no .rhosts file is set up.
Examples:
rcp document1 zeus.univ.edu:document1

Copies “document1” from the local machine to the user’s home directory on the computer with URL zeus.univ.edu, assuming that the user names are the same on both systems.
rcp document1 jdoe@:zeus.univ.edu:document1

Copies “document1” from the local machine to the home directory of user “jdoe” on the computer with URL zeus.univ.edu.
rcp -r documents zeus.univ.edu:backups

Copies the directory “documents”, including all subdirectories, from the local machine to the directory “backups” in the user’s home directory on the computer with URL zeus.univ.edu, assuming that the user names are the same on both systems.
rcp -r zeus.univ.edu:backups/documents study

Copies the directory “documents”, including all subdirectories, from the remote machine to the directory “study” on the local machine.

Command 6: scp – secure copy (remote file copy program)

Command 7: cpio – Creates and un-creates archived cpio files. And also is capable of copying files to things other than a hard disk.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

rajeshkumar replied the topic: Re: File Copying and Transfer between two machine
Some Quick Notes for this…

Remote machine Login : telnet, rlogin
File Transfer: ftp, rcp, scp
Remote login without Password: rsh
Secure Login with password: ssh
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

How to login linux server using ssh?

You log in to a Linux server over SSH by running ssh username@server-ip from an SSH client, then proving who you are with either a password or…

Read More

Wetty – How to Install & Access Wetty (Web-based SSH) on AWS EC2 linux to access using browser

Wetty is a web-based terminal. It runs a small Node.js server that opens an SSH session and streams it to your browser over WebSockets, so you can…

Read More

Complete Tutorial: Use Two GitHub Accounts on One Mac with SSH

This tutorial explains how to configure two GitHub accounts on the same MacBook using separate SSH keys, without repeatedly switching accounts or breaking your existing Git configuration….

Read More

Development Workflows with an FTP and SFTP Client for Mac: From Local Files to Staging

An FTP and SFTP client for Mac is best suited when it displays the project that you are working on in one window and the remote server…

Read More

Linux Commands and Shell Scripting Reference for Linux Admins and DevOps Engineers

A structured Linux command and shell scripting reference for operations and DevOps work, rebuilt from the original link collection. It includes a practical learning workflow, command comparison tables, ready-to-use examples, and curated source links.

Read More

SSH Passwordless Login with ssh-keygen and ssh-copy-id (Step-by-Step)

Learn how to configure SSH key-based authentication so you can log in without typing the remote account password each time. This updated guide covers setup, verification, ssh-agent usage, and safe hardening options.

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x