How to transfer files to desktop

I am using red hat Linux. How can I transfer files from the Linux server to my desktop without the use of Winscp or any other GUI? Basically, I want to use Linux commands to perform this operation.
Will_PAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steven VonaCommented:
scp username@server:/dir/file /home/username/Desktop

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Steven VonaCommented:
You can look up the manual pages for the scp command for more options. Just Google man scp
Will_PAuthor Commented:
savone,

This is what I am using scp e87898@162.8.147.141:/C/Documents and Settings/u13397/Desktop .....
Is my command written correctly because I am unable to scp. Also, I am on a work computer. I do not know if that makes a difference.
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Steven VonaCommented:
Well it looks like you have a windows path in there


You are not going to be able to do this with windows, unless openssh is installed, which most likely it is not.

So my questions for you:

1) Does your windows box have openssh installed?

2) Can you use something else that is more Windows friendly but less secure? (FTP??)

You can also set up shares if you like to move files from one machine to another.

Steven VonaCommented:
Also edit your above post and block out your IP address.  put x.x.x.x in its place for your security.  It would be a good idea to never post your public IP address, specially when its coupled with your username.

Will_PAuthor Commented:
savone,

Thanks, it is not my real ip address. Just an example.
Steven VonaCommented:
Ok, you had me nervous there for a second.  :)

So back to your question....
Will_PAuthor Commented:
savone,

Thanks for the help. iIam able to use Winscp, I was just wondering if there was a way around it. On a few of my servers I am unable log in at root level and use Winscp but no big deal.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.