上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 35 下一页
摘要: if语句 if ... fi 语句; if ... else ... fi 语句; if ... elif ... else ... fi 语句。 注意: expression 和方括号([ ])之间必须有空格,否则会有语法错误。 if语句匹配到,则不会继续往下匹配。 语法: if [ expres 阅读全文
posted @ 2016-02-03 16:44 沐风先生 阅读(357) 评论(0) 推荐(0)
摘要: Bash 支持很多运算符,包括算数运算符、关系运算符、布尔运算符、字符串运算符和文件测试运算符。 原生bash不支持简单的数学运算,默认都是字符串操作,但是可以通过其他命令来实现 算数运算 expr、let、[]、(()) 默认 expr expr 与表达式之间要有空格;运算符左右要有空格 以下结果 阅读全文
posted @ 2016-02-02 22:50 沐风先生 阅读(385) 评论(0) 推荐(0)
摘要: shell简介 1.Shell是Unix的脚本语言,是与 Unix/Linux 交互的工具,shell使用的熟练程度反映了用户对Unix/Linux使用的熟练程度 2.Shell是系统命令+程序逻辑的的集合 3.Shell脚本和编程语言很相似4.shell还不止一种?常见的有四种:bash、sh、c 阅读全文
posted @ 2016-02-02 18:49 沐风先生 阅读(820) 评论(0) 推荐(0)
摘要: QQ讨论群: 736532182 shell之路【课程导学】 一、shell之路 shell核心语法 shell之路 shell核心语法【第一篇】shell初识 shell之路 shell核心语法【第二篇】字符串操作 shell之路 shell核心语法【第三篇】运算 shell之路 shell核心语 阅读全文
posted @ 2016-02-02 18:43 沐风先生 阅读(435) 评论(0) 推荐(0)
摘要: 在APACHE的httpd.conf中,KeepAlive指的是保持连接活跃,类似于Mysql的永久连接。换一句话说,如果将KeepAlive设置为On,那么来自同一客户端的请求就不需要再一次连接,避免每次请求都要新建一个连接而加重服务器的负担。 KeepAlive的连接活跃时间当然是受KeepAl 阅读全文
posted @ 2016-01-31 19:46 沐风先生 阅读(376) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-01-30 23:38 沐风先生 阅读(98) 评论(0) 推荐(0)
摘要: div的height要100%,上层div,html,body也要100% <!DOCTYPE html> <html lang="en"> <head> <style type="text/css"> html,body{ height:100%; margin:0; } .container{ 阅读全文
posted @ 2016-01-30 23:36 沐风先生 阅读(355) 评论(0) 推荐(0)
摘要: .class {}.class div {}.class >div {}.class >div>p {}.class +div {}div.class {}a:visited {} 阅读全文
posted @ 2016-01-30 23:34 沐风先生 阅读(108) 评论(0) 推荐(0)
摘要: 定位 html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>定位</title> <link href="style1.css" type="text/css" rel="stylesheet"> </h 阅读全文
posted @ 2016-01-30 23:17 沐风先生 阅读(135) 评论(0) 推荐(0)
摘要: http://pecl.php.net/get/redis-2.2.5.tgz [root@study package]# tar zxf redis-2.2.5.tgz -C ../ [root@study package]# cd ../redis-2.2.5/ [root@study redi 阅读全文
posted @ 2016-01-30 01:02 沐风先生 阅读(173) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 35 下一页