1、解压缩安装包(git clone /Xfennec/progress)
2、make编译
progress依赖ncurses-devel
3、安装ncurses-devel(需配好yum源)
[root@01dbpay001_dg /]# yum install ncurses-devel
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Server | 3.9 kB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ncurses-devel.x86_64 0:5.7-3.0208.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================
Package Arch VersionRepositorySize
=====================================================================================================================
Installing:
ncurses-devel x86_64 5.7-3.0208.el6 Server 642 k
Transaction Summary
=====================================================================================================================
Install 1 Package(s)
Total download size: 642 k
Installed size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ncurses-devel-5.7-3.0208.el6.x86_64 1/1
Verifying : ncurses-devel-5.7-3.0208.el6.x86_64 1/1
Installed:
ncurses-devel.x86_64 0:5.7-3.0208.el6
Complete!
[root@01dbpay001_dg /]#
4、重新安装
5、使用方法
可以看到,该工具支持的命令有cp, mv, dd, tar, cat, rsync, grep, fgrep, egrep, cut, sort, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, adb, gzip, gunzip, bzip2, bunzip2, xz, unxz, lzma, unlzma, 7z, 7za, zcat, bzcat, lzcat, split, gpg
6、使用测试
在当前目录下创建一个文件名为file的1024M的空文件
用该工具可以看到创建的进度:
创建完成: