1、显示当前系统上root、fedora或user1用户的默认shell;grep-E"^root|^fedora|^user1\>"/etc/passwd|cut-d:-f1,72、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();grep-o"[[:alpha:]]\+()"/etc/rc.d/init.d/functions3、使用echo命令输..
分类:
其他好文 时间:
2016-09-05 09:19:41
阅读次数:
150
1、显示当前系统上root、fedora或user1用户的默认shell;grep-E"^(root|user1|fedora)"/etc/passwd|cut-d:-f72、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();[root@localhost~]#grep-E-o"[[:alpha:]]+\(\)"/etc/rc.d/init.d/functions
ch..
分类:
系统相关 时间:
2016-09-05 00:15:22
阅读次数:
300
Files and DirectoriesIntroduction In the previous chapter we covered the basic functions that perform I/O. The discussion centered on I/O for regular ... ...
分类:
其他好文 时间:
2016-09-04 23:55:56
阅读次数:
289
CSS3中的transform 属性向元素应用 2D 或 3D 转换。该属性允许我们对元素进行旋转、缩放、移动或倾斜。 基本语法:transform: none|transform-functions; 通过 rotateX() 方法,元素围绕其 X 轴以给定的度数进行旋转;通过 rotateY() ...
分类:
其他好文 时间:
2016-09-04 23:50:34
阅读次数:
199
##PHP5.3 +Added "?:" operator +Added lambda functions and closures +Added support for namespaces ##PHP5.4 +Added short array syntax support ([1,2,3]) ...
分类:
Web程序 时间:
2016-09-04 22:10:57
阅读次数:
166
1、显示当前系统上root、fedora或user1用户的默认shell;答:[root@mageeduCT7~]#egrep‘^(root|user1)\>‘/etc/passwd|cut-d:-f7
/bin/bash
/bin/bash2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();答:[root@mageeduCT7~]#grep‘\<[[..
分类:
系统相关 时间:
2016-09-04 17:51:27
阅读次数:
286
1、显示当前系统上root、fedora或user1用户的默认shell;#grep--color-E"^(root|fedora|user1).*‘/etc/passwd|cut-d:-f1,72、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();grep--color-E"[[:alnum:]]+\(\)"/etc/rc.d/init.d/functionsgrep..
分类:
其他好文 时间:
2016-09-04 17:47:10
阅读次数:
197
本周作业内容:1、显示当前系统上root、fedora或user1用户的默认shell;答:[root@localhost~]#cat/etc/passwd|egrep‘^(root|fedora|user1)‘
root:x:0:0:root:/root:/bin/bash
[root@localhost~]#2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:he..
分类:
其他好文 时间:
2016-09-04 17:46:47
阅读次数:
210
python内置函数,可以通过python的帮助文档 Build-in Functions,在终端交互下可以通过命令查看 python内置函数可以分为大致几类 数字运算 功能判断 类型转换 序列处理 type()返回某数据类型等等 ...
分类:
编程语言 时间:
2016-09-04 13:07:18
阅读次数:
192
##PHP5.3 +Added "?:" operator +Added lambda functions and closures +Added support for namespaces ##PHP5.4 +Added short array syntax support ([1,2,3]) ...
分类:
Web程序 时间:
2016-09-04 06:50:04
阅读次数:
225