第五周作业1

lym7645 lym7645     2022-09-23     603

关键词:

PSP

扇形图

进度条

折线图

代码行数

 

博文字数

 

第五周作业

    第五周作业1、显示当前系统上root、fedora或user1用户的默认shell;    grep"^root"/etc/passwd|awk-F‘:‘‘{print$7}‘2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello(); &nbs 查看详情

第五周作业

本周作业内容:1、显示当前系统上root、fedora或user1用户的默认shell; 答:[[email protected] ~]# cat /etc/passwd|egrep ‘^(root|fedora|user1)‘root:x:0:0:root:/root:/bin/bash[[email protected]&n 查看详情

第五周作业

1、显示当前系统上root、fedora或user1用户的默认shell;[[email protected]~]#grep-E"^(root|fedora|user1)"/etc/passwdroot:x:0:0:root:/root:/bin/bash[[email protected]~]#grep-E"^(root|fedora|user1)"/etc/passwd|c 查看详情

第五周作业

 1、显示当前系统上root、fedora或user1用户的默认shell;# useradd fedora              # useradd user1 # grep  查看详情

第五周作业

  1、显示当前系统上root、fedora或user1用户的默认shell;650)this.width=650;"src="http://s4.51cto.com/wyfs02/M00/87/AC/wKioL1ffqS6w5G-lAAAVE7MA-ww080.png"title="1.png"alt="wKioL1ffqS6w5G-lAAAVE7MA-ww080.png"/ 查看详情

第五周作业

1、显示当前系统上root、fedora或user1用户的默认shell;    ]# egrep "^root|^user1|^fedora" /etc/passwd | cut -d: -f1,72、找出/etc/rc.d/init.d/functions文件中某单词后面跟 查看详情

第五周作业

1、显示当前系统上root、fedora或user1用户的默认shell;grep -E ‘^root|fedora|allan:‘ /etc/passwd |cut -d: -f1,7  #显示root,allan默认shellroot:/bin/bashallan:/bin/bash2、找出/etc/rc.d/in 查看详情

第五周作业

1、显示当前系统上root、fedora或user1用户的默认shell;# grep "^(root|fedora|user1)" /etc/passwd2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();# grep "[[:alpha:]].*()" /etc/ 查看详情

第五周作业

1、显示当前系统上root、fedora或user1用户的默认shell;#!/bin/bashfor user in root fedora user1  do    id $user &> /dev/null    查看详情

第五周作业

本周作业内容: 1、显示当前系统上root、fedora或user1用户的默认shell; 2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello(); 3、使用echo命令输出一个绝对路径,使用grep取出其基名;  ... 查看详情

第五周作业

1、显示当前系统上root、fedora或user1用户的默认shell;    egrep"^root|^fedora|^user1"/etc/passwd|cut-d:-f1,72、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();    grep&nb 查看详情

第五周作业

1、   显示当前系统上root、fedora或user1用户的默认shell;grep-E"^root|^fedora|^user1>"/etc/passwd|cut-d:-f1,7 2、   找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();grep-o" 查看详情

马哥linux第五周作业

1、显示当前系统上root、fedora或user1用户的默认shell;[[email protected] ~]# useradd fedora[[email protected] ~]# useradd user1[[email protected] ~]# egrep " 查看详情

第五周课后作业

 电脑管家的分析1、AdvancedSystemCare 防病毒:快速扫描、全盘扫描、自定义扫描清理和优化:启动项优化、隐私清扫、垃圾文件清理、快捷方式修复、注册表清理、恶       意软件清除、网络加速... 查看详情

第五周课后作业

分析当前热门软件的创新目的团队项目很快开启,项目的创新能力影响很大,所以需要分析热门软件是怎么创新的,给自己的团队项目提供帮助。要求1)写blog,发布出来。2)分析目前几款经典的热门软件,提出自己的看法,点... 查看详情

linux学习作业-第五周

1、显示当前系统上root、fedora或user1用户的默认shell;#!/bin/bash#Program#input username ,then print userbash#2016/08/30 V0.0.1 rex frist #注明程序使用的shell,作用,日期,版本read -p  查看详情

第五周作业

课后习题:==========课外实践作业P467----------1SEEDSQL注入实验代码注入是针对Web应用程序的主流攻击技术之一,通过利用Web应用程序的输入验证不完善漏洞,使得Web应用程序执行由攻击者所注入的恶意指令和代码,造成敏感信息泄... 查看详情

23第五周作业

1、显示当前系统上root、fedora或user1用户的默认shell;答:Linux的哲学思想之一:组合单一目的的小程序,完成复杂任务;第一步:使用扩展正则表达式egrep或grep –E显示出匹配到的用户信息;^ :行首锚定,用于模式的最... 查看详情