会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mingming0.1
博客园
首页
新随笔
联系
订阅
管理
[置顶]
笔记3
摘要: [root@ming home]# cp /etc/passwd{,.bak} 备份/etc/passwd [root@ming home]# ll /etc/passwd* 查看 rw-r--r--. 1 root root 1670 May 1 06:43 /etc/passwd-rw-r--r
阅读全文
posted @ 2017-05-08 20:59 mingming0.1
阅读(112)
评论(0)
推荐(0)
[置顶]
笔记2
摘要: [root@localhost ~]# ls /err /boot > duide 2> chuode 命令执行对的所产生的信息放到duide文件里去 命令执行错了所产生的信息放到chuode文件里去 [root@localhost ~]# who >& /app/all 这样也可以把对的错的全放在
阅读全文
posted @ 2017-05-02 20:10 mingming0.1
阅读(169)
评论(0)
推荐(0)
[置顶]
一个简单的script
摘要: [ming@pxe150 ~]$ cd bin/ 我通常会把script放在bin/目录下[ming@pxe150 bin]$ vim hello.sh 编辑一个scipt 因为我们使用的是 bash ,所以,必须要以『 #!/bin/bash 』来宣告这个文件内的语法使用 bash 的语法!那么当
阅读全文
posted @ 2017-04-16 20:52 mingming0.1
阅读(140)
评论(0)
推荐(0)
2017年6月18日
命令6 centos7.
摘要: 在 runlevel 的对应上,大概仅有 runlevel 1, 3, 5 有对应到 systemd 的某些 target 类型而已,没有全部对应; 全部的 systemd 都用 systemctl 这个管理程序管理,而 systemctl 支持的语法有限制,不像 /etc/init.d/daemo
阅读全文
posted @ 2017-06-18 16:59 mingming0.1
阅读(1462)
评论(0)
推荐(0)
命令6 centos 7
摘要: 在 runlevel 的对应上,大概仅有 runlevel 1, 3, 5 有对应到 systemd 的某些 target 类型而已,没有全部对应; 全部的 systemd 都用 systemctl 这个管理程序管理,而 systemctl 支持的语法有限制,不像 /etc/init.d/daemo
阅读全文
posted @ 2017-06-18 16:36 mingming0.1
阅读(601)
评论(0)
推荐(0)
2017年6月6日
centos7.3之DNS正反向解析-主从
摘要: [root@localhost ~]# cat /var/named/named.localhost 查看本地主机$TTL 1D 定义全局的TTL@ IN SOA @ rname.invalid. ( 资源记录 0 ; serial 1D ; refresh 1H ; retry 1W ; expi
阅读全文
posted @ 2017-06-06 17:34 mingming0.1
阅读(3143)
评论(0)
推荐(0)
2017年6月1日
笔记4
摘要: [root@localhost ~]# nmcli g status 查看网络的连接状态 状态 CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN 连接的 全部 已启用 已启用 已启用 已启用 回归传统命名方式 [root@localhost ~]# vim /etc/de
阅读全文
posted @ 2017-06-01 09:41 mingming0.1
阅读(167)
评论(0)
推荐(0)
2017年5月22日
笔记4
摘要: [root@localhost ~]# declare -i i=10[root@localhost ~]# declare -i j=10 declare -i[root@localhost ~]# n=i+j[root@localhost ~]# echo $ni+j[root@localhos
阅读全文
posted @ 2017-05-22 22:17 mingming0.1
阅读(147)
评论(0)
推荐(0)
2017年5月15日
笔记3
摘要: [root@localhost httpd]# cd /var/log/httpd/ [root@localhost httpd]# cat access_log > /var/www/html/index.html 制作一个网站 内容显示为access_log文件里的内容 [root@localh
阅读全文
posted @ 2017-05-15 10:48 mingming0.1
阅读(165)
评论(0)
推荐(0)
2017年4月24日
笔记
摘要: [dmtsai@study ~]$ declare [- - aixr] variable选项与参数:-a :将后面名为 variable 的变量定义成为数组 (array) 类型-i :将后面名为 variable 的变量定义成为整数数字 (integer) 类型-x :用法与 export 一样
阅读全文
posted @ 2017-04-24 20:09 mingming0.1
阅读(148)
评论(0)
推荐(0)
下一页
公告