会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
leon_bin
博客园
首页
新随笔
联系
管理
订阅
2018年3月14日
shell 条件判断
摘要: 1.字符串判断 str1 = str2 当两个串有相同内容、长度时为真 str1 != str2 当串str1和str2不等时为真 -n str1 当串的长度大于0时为真(串非空) -z str1 当串的长度为0时为真(空串) str1 当串str1为非空时为真 2.数字的判断 int1 -eq i
阅读全文
posted @ 2018-03-14 17:02 leon_bin
阅读(119)
评论(0)
推荐(0)
2018年3月7日
linux rwxrwxrwt文件夹属性
摘要: /tmp 的permission是rwxrwxrwt chmod 0777 /abc rwxrwxrwx chmod 777 /abc rwxrwxrwx chmod 1777 /abc rwxrwxrwt The "t" character in your permission indicates
阅读全文
posted @ 2018-03-07 16:51 leon_bin
阅读(172)
评论(0)
推荐(0)
2018年2月24日
Linux Crontab 安装使用详细说明
摘要: 说明:vixie-cron 软件包是 cron 的主程序;crontabs 软件包是用来安装、卸装、或列举用来驱动 cron 守护进程的表格的程序。 二、配置 cron 是 linux 的内置服务,但它不自动起来,可以用以下的方法启动、关闭这个服务: 在CentOS系统中加入开机自动启动: 例子:
阅读全文
posted @ 2018-02-24 16:00 leon_bin
阅读(211)
评论(0)
推荐(0)
2018年2月2日
卸载RedHat7自带的yum,安装并使用网易163源
摘要: 由于redhat的yum在线更新是收费的,如果没有注册的话不能使用,如果要使用,需将redhat的yum卸载后,安装CentOS yum工具,再配置其他源,以下为详细过程: 删除redhat原有的yum及RedHat订阅软件包 # rpm -qa | grep subscription-manage
阅读全文
posted @ 2018-02-02 13:15 leon_bin
阅读(1206)
评论(0)
推荐(1)
2017年9月6日
CENTOS下SAMBA服务不能开启的解决方法
摘要: 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
阅读全文
posted @ 2017-09-06 20:45 leon_bin
阅读(12585)
评论(0)
推荐(0)
公告