[work complete]5 Command Line Tools for Downloading Files/Torrents and Browsing Websites

This commit is contained in:
bazz2 2014-03-20 08:49:45 +08:00
parent c1de919844
commit 60c501e52f
2 changed files with 134 additions and 135 deletions

View File

@ -1,135 +0,0 @@
[bazz2 hehehehehehe]
5 Command Line Tools for Downloading Files/Torrents and Browsing Websites
================================================================================
Linux command-line, the most adventurous and fascinating part of GNU/Linux is very cool and powerful tool. Command line itself is very productive and the availability of various inbuilt and third party command line application makes Linux robust and powerful. The Linux Shell supports a variety of web application of various kind be it torrent downloader, dedicated downloader or Internet Surfing.
![5 Command Line Internet Tools](http://www.tecmint.com/wp-content/uploads/2014/02/Command-Line-Internet-Tools.jpg)
Here we are presenting **5 great command line Internet tools**, which are very useful and proves to be very handy.
### 1. rTorrent ###
rTorrent is a text­-based Torrent Client which is written in C++ aimed at high performance. It is available for most of the standard Linux Distributions including FreeBSD and Mac OS X.
#### Installation of rTorrent ####
# apt­-get install rtorrent (on APT based System)
# yum install rtorrent (on YUM based System)
Check if rtorrent is installed correctly by running the following command in the terminal.
# rtorrent
![rTorrent Command Line Tool](http://www.tecmint.com/wp-content/uploads/2014/02/rTorrent.jpeg)
#### Functioning of rTorrent ####
Some of the useful Key-bindings and their use.
- **CTRL+ q** Quit rTorrent Application
- **CTRL+ s** Start Download
- **CTRL+ d** Stop an active Download or Remove an already stopped Download.
- **CTRL+ k** Stop and Close an active Download.
- **CTRL+ r** Hash Check a torrent before Upload/Download Begins.
- **CTRL+ q** When this key combination is executed twice, rTorrent shutdown without sending a stop Signal.
- **Left Arrow Key** Redirect to Previous screen.
- **Right Arrow Key** Redirect to Next Screen
### 2. Wget ###
**Wget**, is a part of GNU Project, the name is derived from World Wide Web (**WWW**). Wget is a brilliant tool which is useful for recursive download, offline viewing of **HTML** from local Server and is available for most of the platforms be it **Windows, Mac, Linux**. Wget makes it possible to download files over **HTTP, HTTPS** and **FTP**. Moreover it can be useful in mirroring the whole website as well as support for proxy browsing, pausing/resuming Downloads.
#### Installation of Wget ####
**Wget** being a GNU project comes bundled with Most of the Standard Linux Distributions and there is no need to download and install it separately. If in-case, its not installed by default, you can still install it using **apt** or **yum**.
# apt­-get install wget (on APT based System)
# yum install wget (on YUM based System)
#### Some Basic Usage of Wget ####
Download a single file using wget.
# wget http://www.website-name.com/file
Download a whole website, recursively.
# wget -r http://www.website-name.com
Download specific type of file (say pdf and png) from a website.
# wget -r -A png,pdf http://www.website-name.com
Wget is a wonderful tool which enables custom and filtered download even on limited resource Machine. A screen shot of wget download, where we are mirroring a website (**Yahoo.com**).
![Wget Command Line File Download](http://www.tecmint.com/wp-content/uploads/2014/02/Wget.jpeg)
For more such wget download examples, read our article that shows [10 Wget Download Command Examples][1].
### 3. cURL ###
**cURL** is a command line tool for transferring data over a number of protocols. cURL is a client side application which support protocols like **FTP, HTTP, FTPS, TFTP, TELNET, IMAP, POP3,** etc. cURL is a simple downloader which is different from wget in supporting **LDAP, POP3** as compared to others. Moreover Proxy Downloading, pausing download, resuming download are well supported in cURL.
#### Installation of cURL ####
By default cURL is available in most of the distribution either in repository or installed. if its not installed, just do a **apt** or **yum** to get a required package from the repository.
# apt­-get install curl (on APT based System)
# yum install curl (on YUM based System)
#### Basic Usage of cURL ####
# curl www.tecmint.com
![Curl Data Download](http://www.tecmint.com/wp-content/uploads/2014/02/Curl.jpeg)
![Curl Download](http://www.tecmint.com/wp-content/uploads/2014/02/Curl-2.jpeg)
### 4. w3m ###
The w3m is a text based web browser released under GPL. W3m support tables, frames, color, SSL connection and inline images. W3m is known for fast browsing.
#### Installation of w3m ####
Again w3m is available by default in most of the Linux Distribution. If incase, it is not available you can always **apt** or **yum** the required package.
# apt­-get install w3m (on APT based System)
# yum install w3m (on YUM based System)
#### Basic Usage of w3m ####
# w3m www.tecmint.com
![w3m Text Based Web Browser](http://www.tecmint.com/wp-content/uploads/2014/02/w3m.jpeg)
### 5. Elinks ###
**Elinks** is a free text-based web browser for Unix and Unix based System. Elinks support **HTTP**, **HTTP Cookies** and also support browsing script in **Perl** and **Ruby**. Tab based browsing is well supported. The best thing is that it supports Mouse, Display Colours and support a number of Protocols like **HTTP, FTP, SMB, Ipv4** and **Ipv6**.
#### Installation of Elinks ####
By default elinks also available in most of the Linux distributions. If not, install it via **apt** or **yum**.
# apt­-get install elinks (on APT based System)
# yum install elinks (on YUM based System)
#### Basic Usage of Elinks ####
# elinks www.tecmint.com
![Elinks Command Line Web Browsing](http://www.tecmint.com/wp-content/uploads/2014/02/Elinks.jpeg)
--------------------------------------------------------------------------------
via: http://www.tecmint.com/command-line-tools-for-downloading-file-and-browsing-websites/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://www.tecmint.com/10-wget-command-examples-in-linux/

View File

@ -0,0 +1,134 @@
可以下种子的 5 个命令行工具
================================================================================
Linux 命令行工具很牛逼Linux 命令行以及一些第三方应用让 Linux 变得更牛逼。Linux 命令行工具可以用于下载种子,可以上网冲浪。
![5 Command Line Internet Tools](http://www.tecmint.com/wp-content/uploads/2014/02/Command-Line-Internet-Tools.jpg)
本文推荐的**5个强悍的上网工具**方便实用,是居家旅行的必备物品。
### 1. rTorrent ###
rTorrent 基于文本的 Torrent 客户端,用 C++ 调制而成,我们的目标是高性能!我们可运行在标准的 Linux 发行版中,包括 FreeBSD 和 Mac OS X。
#### 安装 rTorrent ####
# apt-get install rtorrent (基于 APT 的系统,如 DebianUbuntu)
# yum install rtorrent (基于 YUM 的系统,如 RHELFedora)
检查有没有安装成功,运行下面命令试试:
# rtorrent
![rTorrent Command Line Tool](http://www.tecmint.com/wp-content/uploads/2014/02/rTorrent.jpeg)
#### rTorrent 的用法 ####
下面是 rTorrent 比较常用的功能:
- **CTRL+ q** 退出 rTorrent。
- **CTRL+ s** 开始下载。
- **CTRL+ d** 暂停下载任务,或删除己被暂停的下载任务。
- **CTRL+ k** 关闭一个正在下载的任务
- **CTRL+ r** 在开始上传、下载之前,使用 Hash 检查文件,确保文件的完整性。
- **CTRL+ q** 按再次这个组合键rTorrent 无条件退出。
- **Left Arrow Key** 回退到上个页面。
- **Right Arrow Key** 前进到下个页面。
### 2. Wget ###
**Wget** 是一个 GNU 项目,它的名称参考了 World Wide Web (**WWW**)。Wget 在递归下载方面做得很好,你可以将整个网站的内容都下到本地,然后访问本地的 **HTML** 文件。它支持多种操作系统:**WindowsMacLinux**。它支持多种协议,可通过 **HTTPHTTPS 和 FTP** 下载文件。它可以对整个网站做一个镜像(完全将目标网站的文件下载到本机),支持代理,支持断点传输(即下载可暂停)。
#### 安装 Wget ####
**Wget** 也是一个 GNU 项目,在标准 Linux 发行版中都有内置,就是说你不用下载安装它就可以使用了。万一,它没有被默认安装,你也可以通过 **APT****YUM** 安装。
# apt-get install wget (基于 APT 的系统,如 DebianUbuntu)
# yum install wget (基于 YUM 的系统,如 RHELFedora)
#### Wget 的用法 ####
下载一个文件:
# wget http://www.website-name.com/file
下载整个网站:
# wget -r http://www.website-name.com
下载指定类型的文件(比如 PDF 和 PNG
# wget -r -A png,pdf http://www.website-name.com
下面是一张 Wget 的截图,我们正在把 **Yahoo.com** 网站整个都镜像下来。
![Wget Command Line File Download](http://www.tecmint.com/wp-content/uploads/2014/02/Wget.jpeg)
关于 wget 的更多用法,参考[Wget 的10个的用法][1]。
### 3. cURL ###
**cURL** 是一个客户端工具,支持多种文件传输协议,比如 **FTP, HTTP, FTPS, TFTP, TELNET, IMAP, POP3** 等等。不像 wget 等工具cURL 只是一个单纯的下载器,支持 **LDAP, POP3**,支持代理下载,支持断点续传。
#### 安装 cURL ####
大多数发行版都默认安装了 cURL如果没有可通过 **apt****yum** 下载:
# apt-get install curl (基于 APT 的系统,如 DebianUbuntu)
# yum install curl (基于 YUM 的系统,如 RHELFedora)
#### cURL 基本用法 ####
# curl www.tecmint.com
![Curl Data Download](http://www.tecmint.com/wp-content/uploads/2014/02/Curl.jpeg)
![Curl Download](http://www.tecmint.com/wp-content/uploads/2014/02/Curl-2.jpeg)
### 4. w3m ###
W3m 是基于文本的网页浏览器,使用 GPL 协议,支持 tables, frames, color, SSL 连接,支持内嵌图片,以快速闻名。
#### 安装 w3m ####
W3m 也是大多数发行版的默认配置,也可通过 **apt****yum** 安装。
# apt-get install w3m (基于 APT 的系统,如 DebianUbuntu)
# yum install w3m (基于 YUM 的系统,如 RHELFedora)
#### w3m 的基本用法 ####
# w3m www.tecmint.com
![w3m Text Based Web Browser](http://www.tecmint.com/wp-content/uploads/2014/02/w3m.jpeg)
### 5. Elinks ###
**Elinks** 是一个免费的基于本文的网页浏览器,支持 **HTTP**,支持 **HTTP Cookie**,支持 **Perl****Ruby** 写的脚本,支持网页标签,支持鼠标,可彩色显示页面,支持 **HTTP, FTPSMBIPv4IPv6**
#### 安装 Elinks ####
大多数发行版已经默认安装了 Elinks如果没有通过 **apt****yum** 安装。
# apt-get install elinks (基于 APT 的系统,如 DebianUbuntu)
# yum install elinks (基于 YUM 的系统,如 RHELFedora)
#### Elinks的基本用法 ####
# elinks www.tecmint.com
![Elinks Command Line Web Browsing](http://www.tecmint.com/wp-content/uploads/2014/02/Elinks.jpeg)
--------------------------------------------------------------------------------
via: http://www.tecmint.com/command-line-tools-for-downloading-file-and-browsing-websites/
译者:[bazz2](https://github.com/bazz2) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://www.tecmint.com/10-wget-command-examples-in-linux/