管理指令

1. lvm usage

更新時間: 2020-07-26

目錄

 

RecuseCD 功能一覽

RecuseCD 是我最心愛的工具碟來, 它集所有必殺 Linux 工具於一碟, 能力驚人 !!

 


 

memtester

memtester <MEMORY> [ITERATIONS]

MEMORY: megabytes
ITERATIONS: infinite

root  privileges  to  mlock
It will then attempt to mlock this memory
decrease the amount of memory requested until it succeeds.

深究 ssh-keygen

最後更新: 2022-09-02

目錄

  • 建立 SSH Pri & Pub Keys
  • 由私匙找回公匙
  • 移除己知 server 的 fingerprint
  • 在 known_hosts file 找回 Server 的公匙
  • 找出 Server 公匙的 fingerprint
  • 更改私匙的 password
  • OpenSSH format key -> RSA format key
  • Re-generating SSH Server Host Keys

 

script ( terminal 記錄工具 )

script

它是可出將 terminal 輸出的文字寫入到檔案內

# script -t 2>~/upgrade-lenny.time -a ~/upgrade-lenny.script

-a            Append the output to file
-t             Output timeing data to standard error

Output timeing data:

<time elapsed since the previous output> <characters were output this time>

 

重播 upgrade-lenny.script 的過程
# scriptreplay ~/upgrade-lenny.time ~/upgrade-lenny.script

 

Remark:

script 及 scriptreplay 是在 bsdutils 包內的

RSS feed