Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-18-2003, 09:18 AM
|
#1
|
LQ Newbie
Registered: Mar 2003
Posts: 4
Rep:
|
How do I upload a file and edit one?
Hello,
I am connecting to a remote linux mahine using ssh. I am in the /var/www/html dir where I want to upload a html file. What command do I use to uploade a file from my local machine to the remote machine? I would usually use ftp, but my programmer says ftp is not up and running. Please help.
Also, what command can I use to edit a spreadsheet? Thanks, Kyle
|
|
|
07-18-2003, 09:34 AM
|
#2
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
You can use sftp, it works just like ftp except it uses a SSH tunnel.
Or scp which copies files from one network location to another using a SSH tunnel as well.
|
|
|
07-18-2003, 10:14 AM
|
#3
|
LQ Newbie
Registered: Mar 2003
Posts: 4
Original Poster
Rep:
|
I am still alittle cofused. Say I have a HTML document names numbers2.html in my C:/ folder on my desktop. Its exact path is c:/numbers2.html
I open putty and login using ssh. Then I go to the /var/www/html where I want to put the numbers2.html file. How do I put it there? Can anyone give me the exact commands? Thanks, Kyle
|
|
|
07-18-2003, 10:25 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you need to use an ftp client, a plain ssh connection is no good. when you're logged it you'd say
cd /var/www/html
put c:\numbers.html
|
|
|
07-18-2003, 10:36 AM
|
#5
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
Oh...
You want to upload files from a Windows system to a Linux server.
Well then...
Then acid_kewpie is right, you will need to use FTP.
|
|
|
07-18-2003, 10:39 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well, so are you...
|
|
|
All times are GMT -5. The time now is 10:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|