ubuntu查看cp, dd, tar, gzip/gunzip, cat等进度

2021/5/11 7:26:37

本文主要是介绍ubuntu查看cp, dd, tar, gzip/gunzip, cat等进度,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

今天跟运维聊天,突然问我个问题,cp, dd, tar, gzip/gunzip, cat啥的操作多了就看不到操作,有啥办法能看不。刚好知道个方式

apt install progress #安装
progress -w #查看文件操作情况cp, dd, tar, gzip/gunzip, cat
progress -wc firefox #查看进程在操作啥文件
progress -c nginx #查看进程活动
cp bigfile newfile & progress -mp $! #操作后显示

2021-05-10 22-25-25 的屏幕截图.png




这篇关于ubuntu查看cp, dd, tar, gzip/gunzip, cat等进度的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程