最後更新: 2016-08-04
介紹
用慣了 M$ 的框框, 每次 copy 檔案時都有 progress bar 出現,
好讓人知幾時可以完工, 那難道 Linux Console 下沒有嗎 ?
有! 它就是 pv 了, 全名 Pipe Viewer
夢想家活一身, 學無限~ 夢不息, 心不倦~ |
|
學術及資源的交流園地 ^_^ pv [ console 下的 progress bar ]由 datahunter 在 四, 07/05/2009 - 20:30 發表最後更新: 2016-08-04 介紹
用慣了 M$ 的框框, 每次 copy 檔案時都有 progress bar 出現, 好讓人知幾時可以完工, 那難道 Linux Console 下沒有嗎 ? 有! 它就是 pv 了, 全名 Pipe Viewer
»
停用 XP 的自動播放由 datahunter 在 一, 23/02/2009 - 20:03 發表
»
etch 升級上 lenny由 datahunter 在 一, 23/02/2009 - 19:05 發表debian 的更新是比其他發行本來得慢, 是次更新已經等了很久了 ~ 因此有許多用 debian 的人都是用 testing 版本的 ~ 所以每次升級都有人由 stable --- upgrade ---> stable 又有人由 testing --- upgrade ---> testing 所謂各人都有各人要走的路 !! 各有各我 upgrade
Remark: =============================================================== 事前功夫:
升級前, 如果可以的話當然要做 full backup 啦 ~ 不能的話最少也要知道自己系統安裝了什麼, 以便出事時可以重建系統 = ,= ||| dpkg -l ~/curr-pkgs.txt tar -zcf ~/etc.bak.tar.gz /etc 另外以免節外生枝, 那要注意 /var 的可用空間, 因為升級包會下載在 /var/cache/apt/archives 內 apt-get clean script ( terminal 記錄工具 )由 datahunter 在 日, 22/02/2009 - 21:36 發表script 它是可出將 terminal 輸出的文字寫入到檔案內 # script -t 2>~/upgrade-lenny.time -a ~/upgrade-lenny.script -a Append the output to file Output timeing data: <time elapsed since the previous output> <characters were output this time>
重播 upgrade-lenny.script 的過程
Remark: script 及 scriptreplay 是在 bsdutils 包內的 |