码迷,mamicode.com
首页 >  
搜索关键字:file echo linux    ( 211108个结果)
linux常用命令
# uname -a # 查看内核/操作系统/CPU信息 #cat /proc/version # 查看内核 # cat /etc/issue # 查看操作系统版本 # head -n 1 /etc/issue # 查看操作系统版本 # ca...
分类:系统相关   时间:2014-06-07 02:46:29    阅读次数:375
Linux study
在centos5.5中编译LNMP环境一.配置好ip, dns, 网关, 确保使用远程连接工具能够连接服务器centos设置ip地址,网关, dns教程: http://www.osyumwei.com/archives/423.html二.配置防火墙, 开启80端口,以及3306端口通过vi /e...
分类:系统相关   时间:2014-06-07 02:12:19    阅读次数:657
Linux下安装memcache
1、Memcache用到了libevent(这个库用于Socket的处理),需要安装libevent:(1)tar zxvf libevent.tar.gz 后进入解压后的文件夹(2)./configure --prefix=/usr/lib(3)make &&make install(4)测试li...
分类:系统相关   时间:2014-06-07 02:11:48    阅读次数:384
linux中select的使用方法
fd_set是一组文件描述符(fd,file descriptor)的集合,它用一位来表示一个fd。系统提供了4个宏对描述符集进行操作: #include #include //设置文件描述符集fdset中对应于文件描述符fd的位(设置为1)void FD_SET(int fd, fd_set *f...
分类:系统相关   时间:2014-06-04 20:48:17    阅读次数:343
性能测试相关脚本
1,restime统计响应时间#!/bin/bash#统计日志响应时间用if [ $# -lt 1 ]; then echo "at least have one param; " echo "ex: restime a.log b.log *.log" exit 1fi. lgq...
分类:其他好文   时间:2014-06-04 20:23:43    阅读次数:291
Linux filesystem structures.
1. / – RootEvery single file and directory starts from the root directory.Only root user has write privilege under this directory.Please note that /ro...
分类:系统相关   时间:2014-06-04 20:04:22    阅读次数:416
Simplify Path
Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to show corner cas...
分类:其他好文   时间:2014-06-04 19:32:14    阅读次数:270
ORACLE 导入导出操作
1、导入命令:imp userId/psw@orcl full=y file=D:\data\xxx.dmp ignore=y2、导出命令exp userId/psw@orcl file=d:\dkj\test.dmp tables=(wf_test) exp userId/psw@orcl buf...
分类:数据库   时间:2014-06-04 19:18:36    阅读次数:294
linux 网卡信息
[root@www ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0静态IP设置DEVICE="eth0" <==网络卡代号,必须要 ifcfg-eth0 相对应HWADDR="08:00:27:71:85:BD"...
分类:系统相关   时间:2014-05-29 15:47:42    阅读次数:378
测试servlet学习笔记
操作方法:1.新建工程;File——>new——>Java Project——>TestServlet(工程名称)——>Finish.2.加载servlet-api.jar类包;TestServlet(右键)——>Build Path——>Configure Build Path——>Library...
分类:其他好文   时间:2014-05-29 15:24:02    阅读次数:254
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!