- 博客(6)
- 收藏
- 关注
原创 解决通过vnc登陆linux server,在terminal最小化后找不到的问题
在左边的菜单栏右击, add new panel,再右击新添加的add to panel,然后会让你选择往这个新panel上添加新的菜单,把window list添加就好了
2013-11-27 09:56:12 6347 2
原创 if中嵌入逻辑表达in Perl
if(($node_type eq $flag_backend) or ($node_type eq $flag_compact)){ exit 99;}
2013-11-21 13:46:22 953
原创 vim 下输入^A ^M
ctrl + v, and then ctrl + m;ctrl + v, and then ctrl + a;vim /etc/inputrc
2013-11-12 16:47:55 2822
转载 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such f
[root@web-server php]# /etc/init.d/httpd restartshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory该错误表示 getcwd 命令无法定位到当前工作目录。一般来说
2013-11-08 10:26:19 5687
转载 expect
1. expect 是基于tcl 演变而来的,所以很多语法和tcl 类似,基本的语法如下所示:1.1 首行加上/usr/bin/expect1.2 spawn: 后面加上需要执行的shell 命令,比如说spawn sudo touch testfile1.3 expect: 只有spawn 执行的命令结果才会被expect 捕捉到,因为spawn 会启动一
2013-11-07 18:09:57 2367
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人