摘要:
1.字符串判断 str1 = str2 当两个串有相同内容、长度时为真 str1 != str2 当串str1和str2不等时为真 -n str1 当串的长度大于0时为真(串非空) -z str1 当串的长度为0时为真(空串) str1 当串str1为非空时为真 2.数字的判断 int1 -eq i 阅读全文
摘要:
/tmp 的permission是rwxrwxrwt chmod 0777 /abc rwxrwxrwx chmod 777 /abc rwxrwxrwx chmod 1777 /abc rwxrwxrwt The "t" character in your permission indicates 阅读全文
摘要:
说明:vixie-cron 软件包是 cron 的主程序;crontabs 软件包是用来安装、卸装、或列举用来驱动 cron 守护进程的表格的程序。 二、配置 cron 是 linux 的内置服务,但它不自动起来,可以用以下的方法启动、关闭这个服务: 在CentOS系统中加入开机自动启动: 例子: 阅读全文
摘要:
由于redhat的yum在线更新是收费的,如果没有注册的话不能使用,如果要使用,需将redhat的yum卸载后,安装CentOS yum工具,再配置其他源,以下为详细过程: 删除redhat原有的yum及RedHat订阅软件包 # rpm -qa | grep subscription-manage 阅读全文
摘要:
Job for smb.service failed because the control process exited with error code. CentOS 7 I have this problem with my CentOS 7.2 server which will not s 阅读全文