09 2011 档案

摘要:临时修改:ifconfig eth0 downifconfig eth0 hw ether xx:xx:xx:xx:xx:xxifconfig eth0 up或者ip link set eth0 downip link set eth0 address xx:xx:xx:xx:xx:xxin ling set eth0 up永久修改:可以将上面几行放入 /etc/rcS.d/rc.local 文件... 阅读全文
posted @ 2011-09-27 00:29 benhuan 阅读(712) 评论(0) 推荐(0)
摘要:来源:Linux社区 作者:Linux 1. 开机启动时自动运行程序 Linux加载后, 它将初始化硬件和设备驱动, 然后运行第一个进程init。init根据配置文件继续引导过程,启动其它进程。通常情况下,修改放置在 /etc/rc或 /etc/rc.d 或 /etc/rc?.d 目录下的脚本文件,可以使init自动启动其它程序。例如:编... 阅读全文
posted @ 2011-09-14 12:38 benhuan 阅读(179) 评论(0) 推荐(0)
摘要:以前用的是NTFS写入支持配置程序,ubuntu软件中心就有. 今天登录不知道怎么的,NTFS分区成了ROOT权限了.. 无奈之下求助谷歌,于是找到了另外一种解决办法.把NTFS写入支持配置工具卸载掉了. ———————不知道能干什么的无聊分界线——————————————– 首先通过 Ubuntu 文件管理器的简单方法挂载需要拥有读、写、执行的 NTFS 分区。 然后,终端输入:df -h 显示... 阅读全文
posted @ 2011-09-13 22:48 benhuan 阅读(462) 评论(0) 推荐(0)
摘要:find /home/ -type f -exec grep 'the content' -l {} ; 阅读全文
posted @ 2011-09-08 10:32 benhuan 阅读(124) 评论(0) 推荐(0)
摘要:自动挂载Windows分区 - Ubuntu中文自动挂载 windows 分区执行下列命令, 编辑挂载脚本 autowinfs.sudo gedit /usr/sbin/autowinfs复制粘贴以下引用的内容, 保存文件, 退出。mkdir -p /windows/rmdir /windows/* 1> /dev/nullgrep -v '/windows/' /etc/f... 阅读全文
posted @ 2011-09-01 21:06 benhuan 阅读(417) 评论(0) 推荐(0)
摘要:With the new Ubuntu 10.04, if you want to use or have used personal file sharing with previous versions of Ubuntu and have found that you cannot enable this in the new version… There are a couple of... 阅读全文
posted @ 2011-09-01 20:45 benhuan 阅读(198) 评论(0) 推荐(0)