- 博客(3)
- 收藏
- 关注
原创 "unknown devices method" when running 'grep'?
<br />It is because Unix utilities such as 'grep' do not like filenames that begin with a '-' (hyphen).
2011-01-07 14:51:00 5038
原创 [zz] shell判断文件,目录是否存在或者具有权限
<br />shell判断文件,目录是否存在或者具有权限 #!/bin/sh myPath="/var/log/httpd/" myFile="/var /log/httpd/access.log" #这里的-x 参数判断$myPath是否存在并且是否具有可执行权限 if [ ! -x "$myPath"]; then mkdir "$myPath" fi #这里的-d 参数判断$myPath是否存在 if [ ! -d "$myPath"]; then mkdir "$
2011-01-07 14:03:00 780
原创 shutdown weblogic with force option
<br />change the stopWebLogic.sh<br />find<br />echo "shutdown('${SERVER_NAME}','Server')" >>"shutdown.py"<br />change it to<br />echo "shutdown('${SERVER_NAME}','Server',force='true')" >>"shutdown.py"
2011-01-07 13:59:00 459
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人