Ubuntuserver7.10 update and download files on the terminal

Source: Internet
Author: User
The following three Procedures describe how to update and download objects on the terminal: 1. Update the source software package and system software sudoaptitudeupdatesudoaptitudeupgrade. 2. putty Chinese garbled characters Windows is gb2312, and linux is utf8, when you log on remotely with putty, garbled characters are displayed by default. After you enable putty, select "Win

The following three Procedures describe how to update and download files on the terminal of Ubuntu server 7.10:

I. Update source software packages and System Software

Sudo aptitude update

Sudo aptitude upgrade

2. putty Chinese garbled characters

Windows is gb2312 and linux is utf8. When you log on remotely with putty, garbled characters are displayed by default. After putty is enabled, select "Window"-> "Translation"-> "Character set translation on received data", select "UTF-8", and save it without Garbled text.

3. download files from character terminals, of course wget

Wget is a command line tool used to download files in batches. It supports HTTP and FTP. Linux users are using it almost every day. Now let's take a look at the related usage:

Wget [parameter list] URL

For example: wget-c http://www.caucho.com/download/resin-pro-3.1.2.zip

First, we will introduce the main parameters of wget:

·-C: resumable upload, which is also a very useful setting. When downloading a large file, if it is interrupted accidentally, when the connection is restored, it will be uploaded from the last point, instead of from the beginning. To use this item, the remote server also supports resumable data transfer.

·-Nd: Do not download the directory structure. heap all files downloaded from all specified directories on the server to the current directory;

·-X: opposite to the "-nd" setting, create a complete directory structure,

·-NH: do not create a directory with the target host domain name as the directory name. directly store the directory structure of the target host to the current directory;

· -- Http-user = username

· -- Http-passwd = password: if the Web server needs to specify the user name and password, use these two parameters;

· -- Proxy-user = username

· -- Proxy-passwd = password: If the proxy server needs to enter the user name and password, use these two options;

·-R: Create a server directory structure on the local machine;

·-L [depth]: Download the depth of the remote server directory structure, for example, "-l 5" Download directory depth less than or equal to 5 directory structure or file;

·-M: The option used for site images. If you want to create a site image, use this option to automatically set other appropriate options for site images;

·-Np: only download the contents of the specified directory and Its subdirectories of the target site. This is also a very useful option. Assume that a person's personal homepage has a connection pointing to another person's personal homepage on this site, and we only want to download this person's personal homepage, if this option is not set, or even -- the whole site may be captured, which is obviously not expected.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.