Chinaunix首页 | 论坛 | 博客
  • 博客访问: 222503
  • 博文数量: 253
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 3
  • 用 户 组: 普通用户
  • 注册时间: 2014-09-21 12:29
文章分类

全部博文(253)

文章存档

2014年(253)

我的朋友

发布时间:2014-09-21 13:02:03

linux下env命令可以查看所有的环境变量......【阅读全文】

阅读(214) | 评论(0) | 转发(0)

发布时间:2014-09-21 13:02:01

README.txtlynx 的安装流程if(system == startos) then {1,解压 lynx的压缩包到任意目录(如 lynx2-8-7)。    压缩包获取网址:lynx.isc.org/current/2,进入到已经解压好的lynx的目录中,真正开始安装@1@ 执行命令下面的命令用以安装好所需要的库文件#./configure注意:在配.........【阅读全文】

阅读(156) | 评论(0) | 转发(0)

发布时间:2014-09-21 13:01:58

在脚本中调用另一脚本(这实际上创建了一个子进程)father.sh#!/bin/bashecho "this is the father"FILM="A Few Good Men"echo "I like the film : $FILM"#call the child script#export FILM./child.shecho "back to father"echo "and the film is : $FILM"exitchild.sh#!/bi.........【阅读全文】

阅读(184) | 评论(0) | 转发(0)

发布时间:2014-09-21 13:01:54

parameter.sh#!/bin/bashecho "show all the parameter : "echo "the scirpt name is : $0"echo "the first parameter is: $1"echo "the second parameter is: $2"echo "the third parameter is: $3"echo "the four parameter is: $4"echo "the five parameter is: $5"exitlsk.........【阅读全文】

阅读(169) | 评论(0) | 转发(0)

发布时间:2014-09-21 13:01:50

shell中可能经常能看到:>/dev/null  2>&1 命令的结果可以通过 %> 的形式来定义输出,其中 %> 代表文件描述符 我们将这个命令组合:“>/dev/null 2>&1”  拆为四部分来分析下:1:> 代表重定向到哪里,例如:echo "123" > /home/123.txt2:首先 0> 表示stdin标准输入; 1> 表示stdout标准输出; 2.........【阅读全文】

阅读(176) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册