Welcome to LQ!
Originally Posted by lxgamer
I im using putty for RH Linux, file downloaded OK on my win XP (using putty) but i dont know where and cant find where it is. Kindly review the below command whether its OK:
[root@mail ~]# scp root@mail:/orient/dist-list/getlist.txt .
getlist.txt 100% 15KB 14.7KB/s 00:01
Please give me some help and explain in detail. Thankyou!
I do suggest that the email tags be removed from the command above.
It looks like you are using 'putty' on a WinXP machine and don't know where you have saved a file. That can be selected within 'putty'.
The command you have shown is 'scp' secure copy on a GNU/Linux not 'putty'. The command 'scp' is;
excerpt 'man scp';
scp -- secure copy (remote file copy program)
scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2
scp copies files between hosts on a network. It uses ssh(1) for data
transfer, and uses the same authentication and provides the same security
as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if
they are needed for authentication.
File names may contain a user and host specification to indicate that the
file is to be copied to/from that host. Local file names can be made
explicit using absolute or relative pathnames to avoid scp treating file
names containing ':' as host specifiers. Copies between two remote hosts
are also permitted.
You need to get some background so I suggest that you look at the below links to aid;
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking
The above links and others can be found at 'Slackware-Links
'. More than just SlackwareŽ links!