要在Centos下載文件到本地,可以使用命令行工具wget。下面是使用wget下載文件的步驟:
sudo yum install wget
wget http://example.com/example.txt