Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6362905
  • 博文数量: 579
  • 博客积分: 1548
  • 博客等级: 上尉
  • 技术积分: 16634
  • 用 户 组: 普通用户
  • 注册时间: 2012-12-12 15:29
个人简介

http://www.csdn.net/ http://www.arm.com/zh/ https://www.kernel.org/ http://www.linuxpk.com/ http://www.51develop.net/ http://linux.chinaitlab.com/ http://www.embeddedlinux.org.cn http://bbs.pediy.com/

文章分类

全部博文(579)

文章存档

2018年(18)

2015年(91)

2014年(159)

2013年(231)

2012年(80)

发布时间:2013-02-03 08:59:54

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

阅读(5628) | 评论(0) | 转发(5)

发布时间:2013-02-01 15:59:53

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.........【阅读全文】

阅读(1932) | 评论(0) | 转发(1)

发布时间:2013-02-01 14:43:21

在脚本中调用另一脚本(这实际上创建了一个子进程)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.........【阅读全文】

阅读(17084) | 评论(0) | 转发(3)

发布时间:2013-01-29 16:39:35

README.txtlinux下的花生壳的安装运行环境:ubuntu11.10 / Centos 6.3当前使用的软件包:phddns-2.0.2.16556.tar.gz1,安装前置:@1@ 解压 phddns-2.0.2.16556.tar.gz 到任意的目录下(如 /usr/local/), 再把 phddns_install.sh ,phddns_remove.sh 脚本文件放于解压包所在目录 (这两个.........【阅读全文】

阅读(2384) | 评论(0) | 转发(1)

发布时间:2013-01-29 16:24:51

操作系统:ubuntu 11.10 / CentOS 6.3firewall_close.sh:#!/bin/bash#centos begin#check the firewall status #/etc/init.d/iptables stutas #Temporary closed firewall#/etc/init.d/iptables stop#Permanent closed firewall#chkconfig iptables off#centos end#ubuntu begin#check the .........【阅读全文】

阅读(5772) | 评论(0) | 转发(1)

发布时间:2013-01-28 17:34:02

当前使用的是:CentOS 6.31,下载 mysql压缩包,当前所实例:mysql-5.5.28-linux2.6-i686.tar.gzmysql_install.sh#!/bin/bash#mysql_install.sh 要与 (mysql的压缩包)所解压的文件夹在同一个路径#(最好是放在 /usr/local)。#首先要安装 gccyum install gcc #安装 mysql 所依赖的库yum.........【阅读全文】

阅读(2204) | 评论(0) | 转发(1)
给主人留下些什么吧!~~

Dafanzi2016-12-05 18:21

我找到代码了 不用了 谢谢

回复  |  举报

Dafanzi2016-12-05 17:20

大佬,在你这篇讲解内存池的博文(http://blog.chinaunix.net/uid-28458801-id-4254501.html)中,list.h源文件没有提供啊。你能提供这个博文的完整代码我学习学习吗?能的话发给我邮箱可以吗?brottfan@163.com谢谢啦

回复  |  举报
留言热议
请登录后留言。

登录 注册