Monday, May 9, 2016

netrw, easy file to transfter files from computer to computer

1- install netrw
$ sudo apt-get install netrw

2- usages
- transfer file /etc/passwd from host 192.168.202.1 to 192.168.202.25

** on host 192.168.202.25 run the following command
$ nr 10001 -o passwd

** on host 192.168.202.1 run the following commad
$ nw 192.168.202.25 10001 -i /etc/passwd

after the file is completed transferring the connection is closed, so if you want to transfer another file run the command again.

- screenshot of receiving file




No comments:

Post a Comment