文章列表
 
2010-02-01 19:34
find /home/kenby/src  -type f -print | xargs grep keywords
 
2010-02-01 17:58
netstat -ntlp
 
2010-01-23 22:04
com.c文件
#include <termios.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/signal.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>

int transfer_byte(int from, int to, int is_control);

typedef struct {char *name; int flag; } speed_spec;


void print_status(int fd) {
int status;
 
2010-01-23 20:31

Qt的授权是分为两条线,商业版和开源版。如果使用商业版的Qt,那么开发出的程序可以是私有的和商业的;如果使用的是开源版的Qt,由于其使用的是GPL协议,那么可发出的程序也必须是GPL的。不过自从qt 4.5.0版本,诺基亚公司使用了LGPL协议,那么写出的程序就可以据为己有了!

 
2010-01-22 23:08

一 每个好架构师都是一位出色的程序员(卓越的程序员)
架构师,听起来是如此神秘的一个称号。尤其是在开发领域刚入门不久的菜鸟级程序员眼中,架构师都是高手,都是牛人,都是如此高高在上的存在。
不过,在搞了四、五年编程之后,程序员们往往早已失去了当年对这些“高级”职位的神秘感,甚至会对自己所在项目的架构师抱怨不已,背后里称他们是一 群水王。所以有江南白衣曾撰文述说:“国内的架构师到了三十岁以后很多就往理论上跑,而国外的架构师在往

 
2010-01-22 20:42
#!/bin/bash

if [ "$1" = "-h" ]
then
echo "两种用法:";
echo "在当前目录搜索:findby search_key*";
echo "指定目录搜索:findby /where/to/search search_key*";
exit;
fi

if [ $# -eq 1 ]; then
find `pwd` -name "$1" -exec ls {} \;
exit;
fi

if [ $# -eq 2 ]; then
find "$1" -name "$2" -exec ls {} \;
exit;
fi
 
2010-01-22 14:25
添加用户
sudo useradd kenby
系统会提示输入密码,并自动建立家目录

修改密码
passwd kenby

删除用户
sudo userdel -r kenby
-r选项会删除家目录
 
2009-07-24 23:26
cleansweep
 
2009-07-24 23:01
mysql --user=root --password=1234 < humanbody.sql
 
2009-05-24 22:27
tar.gz包: tar zvfc tilda.tar.gz tilda
tar.bz2包:tar cjvf tilda.tar.bz2 tilda
 
   
 
 
文章分类
 
   
 
文章存档
 
     
 
最新文章评论
  

I've try it.But fail
 

十分感谢,这正是我需要的。。。
 

说的挺好的
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu