~~十面埋伏~~

 

12 2020 档案

网络班第五周
摘要:1.编写脚本 createuser.sh,实现如下功能:使用一个用户名做为参数,如果 指定参数的用户存在,就显示其存在,否则添加之;显示添加的用户的id号等信息 [root@centos7 ~]# [root@centos7 ~]# cd /data/script/ [root@centos7 sc 阅读全文

posted @ 2020-12-22 21:09 ~~十面埋伏~~ 阅读(70) 评论(0) 推荐(0)

网络班第四周
摘要:1.统计出/etc/passwd文件中其默认shell为非/sbin/nologin的用户个数,并将用户都显示出来 [root@centos7 ~]# cat /etc/passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/n 阅读全文

posted @ 2020-12-16 20:15 ~~十面埋伏~~ 阅读(51) 评论(0) 推荐(0)

网络班第三周
摘要:作业内容 1、显示/etc目录下,以非字母开头,后面跟了一个字母以及其它任意长度任意字符的文件或目录 2、复制/etc目录下所有以p开头,以非数字结尾的文件或目录到/tmp/mytest1目录中。 3、将/etc/issue文件中的内容转换为大写后保存至/tmp/issue.out文件中 4、请总结 阅读全文

posted @ 2020-12-10 20:28 ~~十面埋伏~~ 阅读(75) 评论(0) 推荐(0)

网络班第二周
摘要:1、描述Linux发行版的系统目录名称命名规则以及用途。 [root@centos7 ~]# pwd /root [root@centos7 ~]# cd / [root@centos7 /]# pwd / [root@centos7 /]# tree -L 1 . ├── bin -> usr/b 阅读全文

posted @ 2020-12-06 20:55 ~~十面埋伏~~ 阅读(95) 评论(0) 推荐(0)

导航