易截截图软件、单文件、免安装、纯绿色、仅160KB

linux getopts命令,处理shell脚本参数

#!/bin/bash
while getopts "ab:cd:" Option
# b and d take arguments
#
do
case $Option in
a) echo -e "a = $OPTIND";;
b) echo -e "b = $OPTIND $OPTARG";;
c) echo -e "c = $OPTIND";;
d) echo -e "d = $OPTIND $OPTARG";;
esac
done
shift $(($OPTIND - 1))


相关文档:

Linux AS 5.4安装oracle10g 方法

Oracle Database 10g Release 2 (10.2.0.1) Installation On Red Hat Enterprise Linux 5 (RHEL5)
一安装需求
1.swap 分区不低于2G
2.selinux 状态disable
3.物理内存不低于512M
系统组件
GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet
Development Libraries
Development Tools ......

linux 系统调用列表(转)

转自:
http://www.ibm.com/developerworks/cn/linux/kernel/syscall/part1/appendix.html
本文列出了大部分常见的Linux系统调用,并附有简要中文说明。
以下是Linux系统调用的一个列表,包含了大部分常用系统调用和由系统调用派生出的的函数。这可能是你在互联网上所能看到的唯一一篇中文注释的Linux系统调用列表,即使 ......

Linux——NFS网络文件系统

NFS网络文件系统是通过文件系统实现资源共享的一种最重要的方式。
c/s 客户机   服务器
B/S 浏览器   服务器
NFS服务端配置:
编辑/etc/exports文件以配置开放路径。/home/share      192.168.0.123(ro)/(rw).
/etc/init.d/portmap  restart
/etc/init.d/nfs&nb ......

Linux获取本机IP、MAC示例程序

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <stdio.h>
#include <string>
#include <iostream>
#include <cstring>
using namespace std;
void peek_interfaces(int ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号