摘要:
查看Ubuntu版本:cat /etc/issue查看linux内核版本:uname -a查看cpu相关信息:cat /proc/cpuinfo 阅读全文
摘要:
#!/usr/bin/expectset password "你的密码"spawn ssh -qTfnN -D 7070 tiandsp@216.194.70.6expect "tiandsp@216.194.70.6's password:"send "$password\r"expect "*$"send "exit\r" 阅读全文