[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

Linux command

Dear experts, please help.
How to access those files using IS command, and what command I should use to connect and transfer those files to another workstation? I don't want to use the 'move' command. Thank you.

/etc/passwd                   
/etc/hosts                   
/etc/xinetd.d/                   
/etc/mail/                   
/home/yourlogin/.login       
/home/yourlogin/.profile       
0
kiirowei
Asked:
kiirowei
1 Solution
 
bryanlloydharrisCommented:
Perhaps you can use the "scp" command to transfer the files.  Type "man scp" in a linux command line to get more information about this command.  Also here is a website with more about the "scp" command.

http://en.wikipedia.org/wiki/Secure_copy
0
 
xDamoxCommented:
Hi,

you can do:

scp username@otherworkstattion.com /etc/passwd
0
 
pjedmondCommented:
xDamox - that's a little sloppy! ;)

scp username@otherworkstattion.com /etc/passwd

should be:

scp /etc/passwd root@otherworkstation.com:/etc/passwd

0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now