2015年4月22日 星期三

open website in terminal

[1] curl command - It is a tool to transfer data from or to a server using http/https/ftp and much more.
Tutorial details
DifficultyEasy (rss)
Root privilegesNo
Requirementscurl/wget
lynx/w3m
Estimated completion time10 minute
[2] lynx command - It is a fully-featured World Wide Web (WWW) client/browser for users running terminals.
[3] wget command - It is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.
[4] w3m command - It is a text based Web browser and pager.

$ sudo apt-get install curl wget lynx w3m

 
curl http://www.cyberciti.biz/
curl http://www.cyberciti.biz/faq/bash-for-loop/
 
lynx -dump www.cyberciti.biz
lynx -dump www.cyberciti.biz/faq/bash-for-loop/
 
wget -O - http://www.cyberciti.biz
wget -O - http://www.cyberciti.biz/faq/bash-for-loop/
 
w3m -dump http://www.cyberciti.biz/
w3m -dump http://www.cyberciti.biz/faq/bash-for-loop/
 

沒有留言:

張貼留言