上一页 1 2 3 4 5 6 7 ··· 13 下一页
  2010年12月26日
摘要: 转载自:http://bradthemad.org/tech/notes/cpio_directory.phpCopy a directory with cpioMost people live their whole lives without ever using the cpio utility.However, it is a useful thing, and is sometimes better suited to copyinglots of files around than tar or cp. Here's a quick primer.Some important fl 阅读全文
posted @ 2010-12-26 01:06 lbsx 阅读(349) 评论(0) 推荐(0)
摘要: 转载自:http://cybertiggyr.com/gene/cpio-howto/Gene Michael Stover'scpio How-To & Quick Startcreated Tuesday, 19 March 2002 updated Monday, 14 October 2002Introductioncpio is an archive program, sort of liketar. It is commonly availableon Unix & Unix-like systems,including Gnu/Linux.This article is a q 阅读全文
posted @ 2010-12-26 00:42 lbsx 阅读(462) 评论(0) 推荐(0)
  2010年12月24日
摘要: $ mkdir -p working/auto$ cp /usr/share/live/build/examples/auto/* working/auto/$ cd workingEdit auto/config:代码# lb build$ dd if=binary.img of=${USBSTICK}-b usb-hdd制作usb的live,其他有iso等。。。若不指定volatile的镜像的话,可能会出现Err http://mirror.dlut.edu.cn squeeze/updates/main i386 Packages 404 Not Found其他选项参见Debian 阅读全文
posted @ 2010-12-24 20:20 lbsx 阅读(1247) 评论(0) 推荐(0)
  2010年12月23日
摘要: 来源:Installing Debian Sarge from a USB memory stick (USB key)updated:http://www.debian.org/releases/stable/i386/ch04s03.html.enCopying the files - the easy wayThere is an all-in-one file which contains all the installer files (including the kernel) as well as SYSLINUX and its configuration file. It r 阅读全文
posted @ 2010-12-23 21:42 lbsx 阅读(3827) 评论(0) 推荐(0)
  2010年12月22日
摘要: http://httpd.apache.org/docs/2.0/vhosts/examples.html 阅读全文
posted @ 2010-12-22 12:36 lbsx 阅读(137) 评论(0) 推荐(0)
  2010年12月21日
摘要: [代码] 阅读全文
posted @ 2010-12-21 13:54 lbsx 阅读(503) 评论(0) 推荐(0)
  2010年12月17日
摘要: 通过这两个消息可以模拟键盘事件。相关函数:MapVirtualKey: The MapVirtualKey function translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code. VkKeyScan: The VkKeyScan function translates a character to the corresponding virtual-key code and shift state f 阅读全文
posted @ 2010-12-17 22:00 lbsx 阅读(40187) 评论(0) 推荐(0)
  2010年12月2日
摘要: 今天装完Flash CS3,网络出问题了,默认网关显示为0.0.0.0,route print可以看到是写在第一条的。[代码]219.1.2.254为我的正常网关地址219.1.2.33为我的IP地址1. 临时解决办法:route change 0.0.0.0 mask 0.0.0.0 219.1.2.3恢复正常:[代码]2. 最终解决:问题是由Adobe的Bonjour service引起的,将... 阅读全文
posted @ 2010-12-02 08:51 lbsx 阅读(1005) 评论(0) 推荐(0)
  2010年11月30日
摘要: Figure1.IPv4 headerFigure2.TCP headerFigure3.UDP headerFigure4.ICMP headerreference:TCP/IP Reference 阅读全文
posted @ 2010-11-30 11:10 lbsx 阅读(480) 评论(0) 推荐(0)
摘要: tcpdump -X -s 0 -w filename host www.cnblogs.com and tcp port 80监控本机向www.cnblogs.com发出的包,把内容写入filename里,里面包含TCP头部,但是很容易就能分辨出HTTP的内容了。监听ICMPtcpdump icmp -vX -i eth0 and host www.cnblogs.com监听从eth0向主机www.cnblogs.com发出的ping。监听ping -T tsonly发现ping 命令的-T选项不是对icmp协议加时间戳,而是在IP头部加时间戳。 阅读全文
posted @ 2010-11-30 10:53 lbsx 阅读(2008) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 13 下一页