标签:phrase 开发 incr pass 避免 键盘 pre 技巧 命令行
sudo rngd -r /dev/urandom -o /dev/random -f
#!/usr/bin/expect
set password "butub"
set files [glob -nocomplain -- ./*.deb]
puts "[llength $files]"
for {set i 0} {$i<[llength $files]} {incr i 1} {
set fileName [lindex $files $i]
spawn sudo dpkg-sig --sign builder $fileName
expect "*Enter passphrase:*"
send "$password\n"
puts "$fileName"
}
#interact
git config --global credential.helper store
标签:phrase 开发 incr pass 避免 键盘 pre 技巧 命令行
原文地址:https://www.cnblogs.com/bingduoduo/p/10920081.html