![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
陈伟霆
这个作者很懒,什么都没留下…
展开
-
了解Linux1
运维的职责 1.企业的数据安全 2.网站7*24小时运行 3.企业服务好 服务器 服务器尺寸: 高度为单位:U(unit)1U=1.75英寸=4.45cm 服务器的分类: 机架式服务器 刀片式服务器 塔式服务器 服务器的品牌 Dell #使用最多 IBM #最贵的 HP # 华为 航天联志 联想 云服务器的品牌 阿里云 #使用最多 腾讯云 #...原创 2019-08-22 09:14:58 · 123 阅读 · 0 评论 -
了解Linux2
bash特性 #1. tab键补全 命令补全 [root@qls ~]# user useradd userdel usermod usernetctl users 选项补全 参数补全 [root@qls ~]# ls /etc/sys sysconfig/ sysctl.conf sysctl.d/ ...原创 2019-08-22 09:16:24 · 118 阅读 · 0 评论 -
了解Linux3
显示/etc/services文件的第11行到第20行的内容 [root@qls ~]# head -20 /etc/services | tail [root@qls ~]# grep -n '.' /etc/services | grep -A 9 '^11:' 文件查找命令 locate #根据本地数据库进行查找 yum install mlocate -...原创 2019-08-22 09:17:45 · 103 阅读 · 0 评论 -
了解Linux04
Linux-04 用户管理 [root@qls ~]# head -1 /etc/passwd root:x:0:0:root:/root:/bin/bash 以:为分隔符 root #用户名 x #密码占位符 0 #用户id 0 #用户组id/GID root #用户注释信息 /root #家目录 /bin/bash #用户登录的shell [root@...原创 2019-08-22 09:19:00 · 101 阅读 · 0 评论 -
了解Linux05
Linux-05 权限 -rw-r--r-- 644 -rwxrwxrwx 属主 属组 其他用户 r #可读 w #可写 x #可执行 - #没有权限 r 4 w 2 x 1 - 0 #设置属主权限 [root@qls ~]# touch test.txt [root@qls ~]# [root@qls ~]# ll total 0 -rw-r--r--. 1 roo...原创 2019-08-22 09:20:12 · 163 阅读 · 0 评论 -
了解Linux6
Linux-06 打包压缩 压缩包工具 .zip #zip压缩工具 .bz2 #bzip2压缩工具,只能压缩文件,会删除源文件 .gz #gzip压缩工具,只能压缩文件,会删除源文件 tar.gz #gzip压缩,使用tar打包 tar.bz2 #使用bzip2压缩,使用tar打包 zip zip #打包压缩 选项: -r #递归压缩 -q #静默输出...原创 2019-08-22 09:21:10 · 215 阅读 · 0 评论 -
了解Linux07
Linux-07 定时任务 crond 系统级别 :定时文件清理,日志切割,定时收集系统的状态 用户级别 :同步系统时间,定时备份数据 定时任务相关的文件 [root@qls ~]# [root@qls ~]# ll /etc/cron* -d drwxr-xr-x. 2 root root 21 Aug 14 15:11 /etc/cron.d drwxr-xr-x. 2...原创 2019-08-22 09:22:17 · 172 阅读 · 0 评论