Ubuntu
stefli
简直就是懒人一个
就喜欢下班回家下碟子,看碟子
听听音乐
展开
-
Powerful command "Wget" in ubuntu
wget -r -A jpg,gif http://www.stefli.com/ -P downloadusing this command,you can download the jpg and gif images from http://www.stefli.com/So,you also can change the url to which you want to retrieve原创 2008-10-03 00:10:00 · 645 阅读 · 0 评论 -
Useful Shell Command
ps -ef|grep python|grep -v grep|awk {'print $ 2'}原创 2010-10-08 12:59:00 · 578 阅读 · 0 评论 -
虚拟机上网设置
<br /> <br />NAT的DHCP配置:<br />这个网上别人写过,自己实验了下,没有问题。<br />1 .最重要的是你的两个服务必须开启:VMware DHCP Service 和VMware NAT Service。<br />具体操作如下: 开始---设置--控制面板---管理工具---服务(在运行里输入services.msc回车即可),确保 VMware DHCP Service 和VMware NAT Service 服务已经启动.<br />2 把你的虚拟网卡VMnet8设置为自动转载 2010-10-08 12:58:00 · 1076 阅读 · 0 评论 -
虚拟机上网设置
NAT的DHCP配置:这个网上别人写过,自己实验了下,没有问题。1 .最重要的是你的两个服务必须开启:VMware DHCP Service 和VMware NAT Service。具体操作如下: 开始---设置--控制面板---管理工具---服务(在运行里输入services.msc回车即可),确保 VMware DHCP Service 和VMware NAT Service 服务已经启动.2 把你的虚拟网卡VMnet8设置为自动获得IP、自动获得DNS服务器,启用。3 把你虚拟机中操作系统(我的是RE转载 2010-09-17 22:20:00 · 555 阅读 · 0 评论 -
Sed command usage
<br />Replace string using REGExpression<br />sed 's/<pattern>/<string/g' file<br /> <br />Example:<br />sed 's/[0-9]//g' test.txt<br /> <br />Remove lines<br />sed '/<pattern>/d' file<br /> <br />Example:<br />sed '/[^//]$/d' test.txt<br />原创 2010-07-07 10:35:00 · 448 阅读 · 0 评论 -
Install jdk1.6 on Ubuntu
<br />Enter below commands to install jdk1.6<br /> <br />sudo apt-get install sun-java6-jdk sun-java6-plugin sun-java6-fonts<br />sudo update-java-alternatives -–set java-6-sun原创 2010-07-08 13:47:00 · 521 阅读 · 0 评论 -
My gvim configuration(.gvimrc)
" An example for a gvimrc file." The commands in this are executed when the GUI is started."" Maintainer: Bram Moolenaar " Last change: 2001 Sep 02"" To use it, copy it to" for Un转载 2010-04-01 13:39:00 · 644 阅读 · 0 评论 -
Add new application to the main menu
$ sudo gedit /usr/share/applications/Eclipse.desktop the content is : [Desktop Entry]Name=EclipseComment=Eclipse IDEExec=/usr/software/eclipse/eclipseIcon=/usr/software/eclipse/icon.xpmTermina原创 2009-01-27 13:44:00 · 573 阅读 · 0 评论 -
How to install the wine
1.首先安装 wine 和 cabextract (1) 终端下:sudo gedit /etc/apt/sources.list 添加源:deb http://us.archive.ubuntu.com/ubuntu feisty universe deb http://wine.budgetdedicated.com/apt feisty main (2)终端下:s转载 2008-10-05 00:42:00 · 649 阅读 · 0 评论 -
Resolving the updating problem of image-generic.
E:/var/cache/apt/archives/linux-image-2.6.24-19-generic_2.6.24-19.36_i386.deb:无法在安装新的版本前,为“./boot/vmlinuz-2.6.24-19-generic”做一个符号链接备份 sudo rm -fv /boot/initrd.img-2.6.24*.baksudo rm原创 2008-10-05 00:11:00 · 499 阅读 · 0 评论 -
How to deal with Gecko problem.
当Wine程序需要显示HTML网页时,Wine就会弹出Wine GeckoInstaller窗口要求安装Gecko,而它又要连到网上下载Gecko,对于网络不好或教育网的用户通常是安装不了的。今天参考这篇文章:http://appdb.winehq.org/appview.php?iVersionId=6422,解决了离线安装WineGecko的问题。步骤如下: 1. 从htt原创 2008-10-04 20:31:00 · 646 阅读 · 0 评论 -
Watching live match in the ubuntu.
we often watch the football match in zhibo8 in window,but how to watch it in ubuntu? I can tell you thats not difficult.There are some methods to realize it.1. use gsopcast.but the live list is so a原创 2008-10-05 14:25:00 · 626 阅读 · 0 评论 -
How to install & uninstall software in ubuntu
图形界面 命令 图形界面: 安装deb 直接双击图标,输入密码后就可自动安装. 卸载deb 1. 菜单-系统->系统管理->新立得软件包管理器 或 Alt+F2(运行窗口)输入 sudo synaptic 2.点击 [来源] 在左侧的选择框中选择 [转载 2008-10-03 13:54:00 · 2135 阅读 · 0 评论 -
Add Locales
<br />Quote: http://code.google.com/p/winelocale/wiki/AddLocalesToDebianAddLocalesToDebian How to add locale code pages to Debian or Ubuntu systemsIntroduction<br />Generally, Debian, and especially its cousin Ubuntu, attempt to make using Linux as easy a转载 2010-12-14 13:17:00 · 763 阅读 · 0 评论