![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Unix/Linux
文章平均质量分 58
xiaofeng_w_w
这个作者很懒,什么都没留下…
展开
-
wget very cool!!!
wget不仅能抓取某个页面,还能对网站做镜像,貌似很不错。这个不就是爬虫吗?而且速度也很快,用来抓取网页格式的文档是不错的。 让我们看这条命令:wget --mirror –w 2 –p --HTML-extension –-convert-links –P ~\wget_files\example1 http://www.yourdomain.com --mirror(-m):指定要...2009-03-26 10:31:52 · 81 阅读 · 0 评论 -
Linux标准系统目录及解释
# /bin - common binaries# /sbin - Binaries used for system administration are placed here.# /boot - static files of the boot loader. Usually it contain the Linux kernel, Grub boot loader files and...原创 2008-11-07 15:58:36 · 100 阅读 · 0 评论 -
How Linux "knows" what to start at boot time
When you boot up a Linux computer, you'll usually see the bootloader (after the BIOS has done its part of the booting process). The bootloader, usually Lilo or GRUB, is configured to load the kernel o...原创 2008-11-13 16:50:42 · 82 阅读 · 0 评论 -
Ubuntu下ADSL上网设置
1. 配置: sudo pppoeconf然后根据提示输入ADSL账号与密码设置完后,下次开机会自动连接的。。2. 其它相关的几个命令:上网执行: pon dsl-provider激活ADSL: sudo /etc/ppp/pppoe_on_boot断开连接: poff查看日志: sudo plog...2008-05-14 14:56:11 · 77 阅读 · 0 评论 -
优化FreeBSD ports下载速度
使用axel来替换fetch来进行多线程下载FETCH_CMD=axelFETCH_BEFORE_ARGS= -aFETCH_AFTER_ARGS=DISABLE_SIZE=yes或者只写一行FETCH_CMD=axel -a 添加更快的port下载站点 在make.conf文件中使用配置MASTER_SITE_OVERRIDE参数,可自行增加软件镜像以...原创 2009-10-31 10:17:15 · 292 阅读 · 0 评论 -
使用Portsnap更新Freebsd port tree
portsnap从Freebsd 6.0之后成为ports的默认部分, 从效率上来说比cvsup要快的多,因为它是一次性下载压缩包.首先找个国内速度快的镜像 vi /etc/portsnap.confSERVERNAME=portsnap.cn.FreeBSD.org直接更新 portsnap fetch updateLooking up portsnap.hshh.o...原创 2009-10-31 10:29:15 · 168 阅读 · 0 评论 -
Reconfiguring FreeBSD Ports
make rmconfig optionThe simplest one is type command make rmconfig. First login as root; go into the directory containing the port and type:# cd /usr/ports/www/apache22# make rmconfigOutput:...原创 2009-10-31 11:34:00 · 159 阅读 · 0 评论 -
IPMItool简介
IntroductionIPMItool is a utility for managing and configuring devices that support the Intelligent Platform Management Interface (IPMI) version 1.5 and version 2.0 specifications. IPMI is an op...原创 2009-04-29 21:42:42 · 181 阅读 · 0 评论 -
使用一行命令实现tree功能
使用ls, grep, and sed实现tree命令功能,如下:ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'原创 2009-08-18 11:41:04 · 215 阅读 · 0 评论