In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to download files in linux? In response to this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more small partners who want to solve this problem find a simpler and easier way.
Linux download files generally use the wget command, which can be installed through package management tools.
yum install wget -yapt install wget -y
Wget is a common free tool for downloading files automatically from the web under linux. It supports HTTP, HTTPS and FTP protocols and can use HTTP proxies. The general usage method is: wget + space + parameters + url path of the file to be downloaded, for example:
wget http://www.linuxsense.org/xxxx/xxx.tar.gz
-c parameter, this is also very common, you can break the resume, if accidentally terminated, you can continue to use the command to download, for example:
wget -c http://www.linuxsense.org/xxxx/xxx.tar.gz
Wget common parameters
-b: Background download, Wget defaults to download files to the current directory.
-O: Download the file to the specified directory.
-P: Create a directory with the specified name before saving the file.
-t: Number of connection attempts, how many times Wget tries to connect when it cannot establish a connection with the server.
-c: breakpoint resume, if the download is interrupted, then the connection will resume from the last breakpoint download.
-r: Use recursive download
About how to download files in the linux system to share the answer to the problem here, I hope the above content can be of some help to everyone, if you still have a lot of doubts not solved, you can pay attention to the industry information channel to learn more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.