postgres=# psql -U postgres -h 127.0.0.1 -p 5432 -d dreamstart_dev -wpostgres-# \dNo relations found.postgres-# \c dreamstart_devpsql (9.2.18, server 9.5.6)WARNING: psql version 9.2, server version 9.5. Some psql features might not work.You a
想搞一个使用ssh登录批量ip地址执行命令,自动输入密码的脚本,但是ssh不能使用标准输入来实现自动输入密码,于是了解到了expect这个可以交互的命令 是什么 查看使用man查看expect,是这么说的,使用谷歌翻译一下 Expect is a program that "talks" to other interactive programs according to a script. Following the script, Expect knows what can be