码迷,mamicode.com
首页 >  
搜索关键字:小括号    ( 823个结果
linux 第5周作业
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、使用..
分类:系统相关   时间:2016-09-06 23:32:34    阅读次数:367
js中的()
大家知道小括号的作用吗? 小括号能把我们的表达式组合分块,并且每一块,也就是每一对小括号,都有一个返回值。这个返回值实际上也就是小括号中表达式的返回值。也就是说,小括号有个功能,括起来的东西在js中会被当做表达式解析。我们知道单独的匿名函数无法调用,通常赋值给一个变量来调用。那么匿名函数加上括号就可 ...
分类:Web程序   时间:2016-09-06 21:10:21    阅读次数:177
第五周作业
本周作业内容:显示当前系统上root、fedora或user1用户的默认shell;#egrep"^(root|user1|fedora)"/etc/passwd|cut-d:-f72、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();#egrep"^[[:alpha:]]+\(\)"/etc/rc.d/init.d/functions3、使用echo..
分类:其他好文   时间:2016-09-06 01:22:12    阅读次数:166
马哥第3期运维班第五周作业
1、显示当前系统上root、fedora或user1用户的默认shell;egrep‘^(root|fedora|user1)\>‘/etc/passwd|cut-d:-f7 #|表示或者,以:为分隔截取第7段2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();grep-o"^[_[:alpha:]]+\(\)"/etc/rc.d/in..
分类:其他好文   时间:2016-09-05 17:39:26    阅读次数:150
Linux基础知识五
1、显示当前系统上root、fedora或user1用户的默认shell。[root@centos6-01~]#grep-E"^root\>|^fedora\>|^user1\>"/etc/passwd|cut-d:-f1,7 root:/bin/bash user1:/sbin/nologin fedora:/bin/bash2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,..
分类:系统相关   时间:2016-09-05 17:33:20    阅读次数:278
第五周作业
1、显示当前系统上root、fedora或user1用户的默认shell;egrep"^root|^fedora|^user1"/etc/passwd|cut-d:-f1,72、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();grep"\<[[:alpha:]]\+\>()"/etc/rc.d/init.d/functions3、使用echo命令..
分类:其他好文   时间:2016-09-05 17:27:26    阅读次数:127
第五周作业
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
Linux第五次作业
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
python3和Python2的区别(被坑太久了)
print函数:(Python3中print为一个函数,必须用括号括起来;Python2中print为class) Python 2 的 print 声明已经被 print() 函数取代了,这意味着我们必须包装我们想打印在小括号中的对象。 Python 2 1 2 3 4 print 'Python ...
分类:编程语言   时间:2016-09-04 20:40:47    阅读次数:197
马哥Linux网络班作业(5)
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
823条   上一页 1 ... 54 55 56 57 58 ... 83 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!