Recently, in the operation of CentOS system, when downloading files using wget, the problem of multiple lines of download progress is displayed. The Xiaobian of the system home learned that many people have such problems, so what is the cause? What? How to solve it? After
In order to solve the problem before garbled after Putty client to connect to CentOS, set LANG = zh_CN.UTF-8, when using wget to download, wget download progress bar abnormalities, even Can not be displayed in a line, become a multi-line display of potholes, each time wget will automatically generate a new line, the result is to download the slow progress of the file, without a while the entire screen is the world of wget progress bar.
The code is as follows:
The progress bar of wget becomes a screen killer with sad reminders. The full screen is like this. . . (= number omits countless) "/p" "p" 99% [========================================== =========” ] 10,416,337 6.09K/s eta (Central England
99% [================ ===========================] 10,419,241 6.10K/s eta (Central England
99% [==================================================] 10,419,241 5.73K/s eta (Central England
99% [========================================= ==========” ] 10,425,049 5.79K/s eta (Central England
99% [=============== ============================] 10,427,953 5.65K/s eta (Central England
100 %[============================================================== ,288 5.65K/s in 27m 12s
This is completely different from the original line showing the progress bar. It was discovered later that because of the translation, eta was converted to eta (Central Time). Causes the entire output to be too long, causing line breaks, causing the next output to start from a new line.
Then later, I found online too. Many people have this problem. The key point is that this problem has existed since long ago. It is still very fast to modify.
The code is as follows:
#Note that the file path is at:/Usr/share/locale/zh_CN/LC_MESSAGES/"/p" "p"cd /usr/share/locale/zh_CN/LC_MESSAGES/
#renamed first
mv wget.mo wget .mo.bak
#Replace eta (Central Time) as ETA from the renamed file and export the new file
msgunfmt wget.mo.bak -o -
QQ is one of the largest social chat software in the country, so many Linux users also want to insta
Perl is a programming language, as powerful as C, and easy to use. However, Perl co
Linux rdate command is mainly used to display the date and time of other hosts, to achieve time sync
When doing Linux command operations, sometimes many directories are searched for, and these director
Linux signal mechanism analysis
Linux how to fix the kernel panic problem caused by glibc?
Linux uptime command operation example
What are the commands for monitoring the performance of Linux systems?
Linux blocking browser request alert method on browser
How to configure XFS file system for Linux system
How to identify Linux soft links and hard links
What are the usages of the ls command in Linux operations?
How to install boost library in Linux system
Ubuntu uses SHA256 to verify instances of iso image integrity
How to remove Win10 search web and windows?
Windows7 common faults and their solutions
Meteor Butterfly Sword Eighth off how to play Meteor Butterfly Sword Eighth Raiders
Windows RT welcomes special benefits Update win10 part function
How to set up a router to limit Internet access in Win7 system?
Win8 calls the game manager skills
11 cool Linux terminal commands Daquan
Turn on Windows 8.1 "slide screen to turn off your PC" method
What is the headache of the system update function, how to deal with the win8 system?
Win10 mobile payment how to use win10 mobile payment using graphic tutorial