- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 用expect编写Linux自动化交互登录脚本
#本文中所有服务器名,用户名,密码都不是真实的。 什么是expect,就是突破shell不能自动交互的局限,可以实现用脚本进行交互的语言。 参考这篇文章《tcl expect 教程中文版》 上代码吧: goto文件,用于简化登录很长名字,不容易管理的服务器的步骤。 前面是个switch,后面是交互的代码,可以自动输入密码,自动进入想去的目录。 #!/home/users/liuzu
2013-03-31 22:38:38 1285
原创 自己的VIM配置
有一篇很好的文章介绍vim如何配置及vim的众多插件如何使用 《手把手教你把Vim改装成一个IDE编程环境(图文)》 依照里面的介绍,给自己配了一下vim,留此以作总结和备忘。 syntax enable syntax on set history=300 set autoread "----------Hight Light Current Line--------------
2013-03-31 00:49:09 2332
checkinstall-1.6.2-CentOS_5.5.x86_64.rpm
2011-03-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人