上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 44 下一页
摘要: 1、文件权限1.1 用户有一个称为setuid(S)的特殊权限,它出现在执行权限(x)的位置,setuid权限允许用户以拥有者的权限来执行可执行文件,即使这个可执行文件是由其他用户运行的。具有setuid权限的文件的权限序列如下:-rwS------setuid的使用不是无限制的,为了确保安全,只能... 阅读全文
posted @ 2015-12-28 18:57 hbg-rohens 阅读(1842) 评论(0) 推荐(0)
摘要: AgentXRoles1、masterAnentityactinginamasteragentroleperformsthefollowingfunctions:-AcceptsAgentXsessionestablishmentrequestsfromsubagents.接受来自于subagent... 阅读全文
posted @ 2015-12-28 11:46 hbg-rohens 阅读(807) 评论(0) 推荐(0)
摘要: 1、在grep中, ^标记着单词的开始, $标记着单词的结束。查看一个单词是否在linux自带的词典中,脚本如下:#bin/sh#文件名:checkword.shword=$1grep "^$1$" /usr/share/dict/american-english -qif [ $? -eq 0 ]... 阅读全文
posted @ 2015-12-21 18:58 hbg-rohens 阅读(198) 评论(0) 推荐(0)
摘要: #!/bin/sh /etc/rc.common# Copyright (C) 2008-2012 OpenWrt.org#启动顺序START=90#创建PID文件SERVICE_USE_PID=1find_release_info(){ [ -s /etc/openwrt_release ] ... 阅读全文
posted @ 2015-12-19 14:51 hbg-rohens 阅读(2552) 评论(0) 推荐(0)
摘要: openwrt中启动脚本中经常出现如下一句:SERVICE_USE_PID=1例如lldp启动脚本 lldpd.init中如下:#!/bin/sh /etc/rc.common # Copyright (C) 2008-2012 OpenWrt.orgSTART=90SERVICE_USE_PID=... 阅读全文
posted @ 2015-12-19 14:28 hbg-rohens 阅读(801) 评论(0) 推荐(0)
摘要: Debian 8 Jessie上安装命令:echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.listecho "deb-src http://ppa.launchpa... 阅读全文
posted @ 2015-12-18 15:49 hbg-rohens 阅读(207) 评论(0) 推荐(0)
摘要: shell是一个作为用户与linux系统间接口的程序,它允许用户向操作系统输入需要的执行的命令。linux中可以有多个shell。shell的种类:1)ash:贝尔实验室开发的shell,bsh是对ash的符合链接。2)bash:是GNU的Bourne Again Shell,是GNU操作系统的sh... 阅读全文
posted @ 2015-12-17 11:09 hbg-rohens 阅读(175) 评论(0) 推荐(0)
摘要: 打印这个消息后串口无法进行交互procd: - init complete -主要问题是 /etc下inittab脚本中::sysinit:/etc/init.d/rcS S boot::shutdown:/etc/init.d/rcS K shutdown#::askconsole:/bin/as... 阅读全文
posted @ 2015-12-17 10:15 hbg-rohens 阅读(909) 评论(0) 推荐(0)
摘要: 东经正数,西经为负数经度是指通过某地的经线面与本初子午面所成的二面角.在本初子午线以东的经度叫东经,在本初子午线以西的叫西经.东经用“E”表示,西经用“W”表示.北纬为正数,南纬为负数纬度 是指某点与地球球心的连线和地球赤道面所成的线面角,其数值在0至90度之间.位于赤道以北的点的纬度叫北纬,记为N... 阅读全文
posted @ 2015-12-16 09:53 hbg-rohens 阅读(5635) 评论(0) 推荐(0)
摘要: 来源: http://wiki.openwrt.org/doc/techref/preinit_mount#first.boot基本的openwrt启动顺序为: 1、boot loader loads kernel boot loader加载内核2、kernel loads whilst scan... 阅读全文
posted @ 2015-12-15 18:29 hbg-rohens 阅读(1914) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 44 下一页