通过rz上传文件失败时,经常会产生大小为0的乱码的文件名,如下 ls -l -rw-r–r– 1 root root 47031 12-15 13:48 ?ղ??.htm 这种类型的文件可用以下命令 find . -maxdepth&
shell程序中经常会有不能让人看到的密码,找到个工具叫shc可以编译加密shell脚本。 1. 安装shc yum install shc -y 需要安装rpmforge才能yum安装shc,安装方式见:http://wiki.centos.org/zh/AdditionalResources/Reposito
1.1 版本修改:rpmfind函数、wgetsoft函数和-all选项使用数组 这个脚本是自己的生产服务器上的一个脚本,安装系统都为:CentOS,相关说明如下 1. 使用 ./nrpe_install.bash --help 或者 ./nrpe_install.bash -husage: nrpe_install
Shell中的getopt和getopts都用于命令行选项支持 a. getopts只支持短选项,getopt支持长短选项 b. getopts是Shell内置,getopt为单独的命令 一. getopts 命令格式: getopts option_string variable [arg...] option_string:以冒号为分隔的选项 var
当把从服务器上checkout出文档或程序直接复制到另外一台服务器上是,由于新的服务器的svn版本比checkout那台的版本低就会出现 svn: This client is too old to work with working copy ...... 解决方法: 下载http://svn.apache.org/repos/asf/subversion/trunk/tools/clie
公司的Svn很多人在用,有不少人在作修改后不添加注释,所以需要强制用户填写注释。上网查了下资料,可以使用钩子来实现。 1. 重命名svn主目录中hooks的pre-commit.tmpl文件为pre-commit,并添加可执行权限 mv pre-commit.tmpl pre-commit chmod u+x pre-commit
通过rz上传文件失败时,会产生大小为0的乱码的文件,如下 ls -l -rw-r–r– 1 root root 47031 12-15 13:48 ?ղ??.htm 这种类型的文件可用以下命令 find . -maxdepth&nbs
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号