<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>隔叶黄莺 Unmi Blog &#187; Linux/Unix</title>
	<atom:link href="http://unmi.cc/category/linuxunix/feed" rel="self" type="application/rss+xml" />
	<link>http://unmi.cc</link>
	<description></description>
	<lastBuildDate>Wed, 22 Feb 2012 14:20:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ubuntu 11.04 Unity最常用的31个快捷键</title>
		<link>http://unmi.cc/ubuntu-11-04-unity-31-shortcut</link>
		<comments>http://unmi.cc/ubuntu-11-04-unity-31-shortcut#comments</comments>
		<pubDate>Mon, 02 May 2011 06:26:10 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://unmi.cc/?p=3533</guid>
		<description><![CDATA[首先奉上的是键盘快捷键： 1、超级键（Win键） – 打开dash。 2、长按超级键 – 启动Launcher。 3、按住超级键，再按1,2,3等数字键 – 从Launcher打开一个应用程序，当你按住超级键时，每个应用程序图标上都会显示一个数字，按下对应的数字就会打开盖应用程序。 4、Alt+F1 – 将键盘焦点移到Launcher上，使用箭头键进行移动，按回车即可启动一个应用程序，按下右箭头键显示Quicklist。 5、Alt+F2 – 以特殊模式打开dash，以便运行任何命令。 6、超级键+A – 从Launcher打开应用程序窗口。 7、超级键+F – 从Launcher打开文件和文件夹窗口。 8、超级键+W – 伸展模式，缩小所有工作空间中的窗口。 9、超级键+D – 最小化所有窗口（即显示桌面），再按一次恢复所有窗口。 10、超级键+T – 打开回收站。 11、超级键+S – Expo模式，缩小所有工作空间，允许你管理窗口。 12、Ctrl+Alt+T – 启动Terminal。 13、Ctrl+Alt+L – 锁住屏幕。 14、Ctrl+Alt+上/下/左/右键 – 移动到新的工作空间。 15、Ctrl+Alt+Shift+上/下/左/右键 – 将窗口放入新的工作空间。 16、F10 – 打开顶部面板的第一个菜单，使用箭头键浏览菜单项。 下面是Ubuntu Unity支持的一些鼠标快捷键： 1、在Launcher中，可以拖动图标对应用程序重新排序。 2、可以直接从Launcher将图标拖动到回收站，将应用程序从Launcher中移除。 3、光标移到屏幕左侧，停止不动几秒，将会启动Unity Dock。 [...]]]></description>
		<wfw:commentRss>http://unmi.cc/ubuntu-11-04-unity-31-shortcut/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 下为 Firefox 设置中文字体</title>
		<link>http://unmi.cc/ubuntu-firefox-set-fonts</link>
		<comments>http://unmi.cc/ubuntu-firefox-set-fonts#comments</comments>
		<pubDate>Mon, 02 May 2011 06:12:44 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://unmi.cc/?p=3529</guid>
		<description><![CDATA[默认风格下 Ubuntu 的 Firefox 浏览中文网页十分难看，字黑黑的不清楚，所以需要设定一下 Firefox 中的字体，幸好选择了中文语言包中系统中有文泉字体可用。网上找到了一篇 Firefox 中文字体的参考，如下： 1.编辑CSS文件，参考： http://wiki.ubuntu.org.cn/Firefox_%E5%AD%97%E4%BD%93 (声明：本链接内容更适用于，在Firefox首选项中无法设定中文字体的情况！) 2.运行Firefox3.6.13 3.依次选择 Edit \ Preferences \ Content \ Advanced 我的选择: Fonts for : User Defined Proportional: Sans Serif      Size:18 Serif: WenQuanYi Bitmap Song Sans-serif: WenQuanYi Bitmap Song Monospace: WenQuanYi Bitmap Song      Size:16 Minimum font size:12 Default Character Encoding: Unicode(UTF-8) Edit \ Preferences \ [...]]]></description>
		<wfw:commentRss>http://unmi.cc/ubuntu-firefox-set-fonts/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux 中 Firefox 升级到 4.0 版</title>
		<link>http://unmi.cc/update-firefox-for-ubuntu</link>
		<comments>http://unmi.cc/update-firefox-for-ubuntu#comments</comments>
		<pubDate>Mon, 02 May 2011 05:52:06 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://unmi.cc/?p=3525</guid>
		<description><![CDATA[Ubuntu 11.04 系统已经是自带 Firefox 4.0 了，在之前的版本，像 10.10 及更早的 Ubuntu 中如果要升级到 4.0 的 Firefox 该如何做呢？利用 Firefox 的自动升级功能只会帮你下载到  firefox-4.0.1.tar.bz2 文件，剩下的事情还是要自己解压并找到 Firefox 的安装目录覆盖过去，这样看起来不怎么完美。 最好还是用下面的 apt-get 的方法，步骤如下： sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa sudo apt-get update sudo apt-get install firefox-4.0 三步搞定，我试过，行的。再次打开你的 Firefox 看看现在的版本是不是最新的了。 上面步骤其实装的是当前每日构建版本，即 Nightly Web Browser，而要安装当前正式版本还该使用网上还找到的如下方法： sudo add-apt-repository ppa:mozillateam/firefox-stable sudo apt-get update sudo apt-get upgrade 现在得益于网络的速度够快，都采用了这种从仓库中直接更新／下载软件包的方式，像 Redhat 的 yum，延伸到 Java 管理依赖的方式，如 [...]]]></description>
		<wfw:commentRss>http://unmi.cc/update-firefox-for-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 和 Linux 平台下的端口转发工具</title>
		<link>http://unmi.cc/windows-linux-port-forwarding</link>
		<comments>http://unmi.cc/windows-linux-port-forwarding#comments</comments>
		<pubDate>Sun, 05 Dec 2010 05:57:35 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[port forward]]></category>

		<guid isPermaLink="false">http://unmi.cc/?p=2890</guid>
		<description><![CDATA[这里记录一下我曾经使用过的几个端口转发工具，即端口映射、端口重定向，和 NAT 也是差不多的概念。 Linux 下用过 iptables，rinetd；Windows 下用过某个防火墙的 NAT 功能、RemoteAnywhere 的端口重定向、FPipe，还有最近刚找到的 PassPort。试着去设置一下 Windows 2000 的 NAT  功能，但未成功，还是特定的软件简单易用，下面介绍逐一介绍下。 iptables 的功能当然强大，但理解与设置却有点抽象，曾用它进行过透明代理上网，见：Linux 下仅用 iptables 实现为透明代理服务器。真要用它进行端口重定向太麻烦，会用它当然很方便的，在 Linux  平台下是开箱即用的，很多机器都安装了它。 rinetd，一直在用它，它可以多组端口映射写在配置文件里，好像只支持 TCP 协议。下载地址 http://www.boutell.com/rinetd/http/rinetd.tar.gz，如何安装不细讲了，可以 apt-get install，或 yum install，或是 make/make install。 安装后，它默认使用 /etc/rinetd.conf 文件，比如通过入口机访问某台内网的远程桌面，或透过入口的 80 端口访问内网某机器的 8080 端口上的 Web 服务，可以这么写： #通过 61.108.218.106:3389 进来的请求重定向给 10.80.10.7:3389 61.108.218.106 3389 10.80.10.7 3389 #任何接口进来请求80端口重定向给 10.80.10.8:8080 0.0.0.0 80 10.80.10.8 [...]]]></description>
		<wfw:commentRss>http://unmi.cc/windows-linux-port-forwarding/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>让 Putty 保存密码，自动登陆的三种方法</title>
		<link>http://unmi.cc/putty-auto-login</link>
		<comments>http://unmi.cc/putty-auto-login#comments</comments>
		<pubDate>Sun, 27 Jun 2010 12:03:44 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Putty]]></category>

		<guid isPermaLink="false">http://unmi.cc/?p=70</guid>
		<description><![CDATA[Putty 基本是我在紧急时候用来登陆 Linux/Unix 终端的不二之先，因其小，开源，界面也非常实用。可是当你要在私有的机器上，经常性的要登陆很多机器的时候就觉得烦琐了，不光打开一堆的窗口，还要一遍一遍的输入用户名和密码。当然登陆用户名是可以保存的，我也是最近才注意到这一点的。Putty 不愿去保存密码是出于安全考虑，相信在多数时候确实是非常必要的。 于是我选择了 SecureCRT, 它能保存密码，而且是多 Tab 的，把 Session 改成 VT100 Linux 模式，用着一直很顺溜。然而今天却发现在 SecureCRT 终端中使用 vim 不能高亮显示语法，试过多种设置，在 Putty 中却行的，就这样又重新回到了 Putty 的怀抱。要相处得好，必须更深层次的挖掘它的潜力，其实它也可让你实现自动登陆、甚至是多 Tab 的方式。方法有三： 一：用 PuTTYgen.exe 生成 ssh 证书，可在特定的机器上自动登陆 PuTTYgen.exe 也是从 putty.exe 站点下载，http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html。对于 Linux to Linux 的 ssh 证书生成及自动登陆的方法我先前也有过一个介绍：http://unmi.cc/ssh-no-need-input-password。而怎么使用 PuTTYgen.exe 请直接参考：SSH证书让Putty免密码登陆Linux。这种方法需要在服务器端做相应的操作，本文主要想介绍第二种方法。 二：用 Putty v6.0 修改版，可保存登陆名和密码，实现自动登陆 Putty 默认版只能保存登陆名，每次需输入登陆密码，主机和登陆名是保存在注册表中的。不过因为它是开源，所以有相关需求者做了个能同时保存用户和密码的版本，这些信息是保存在文件中的。该保存登陆名和密码版可在些下载：http://www.blogjava.net/Files/Unmi/putty_v6.0.rar。 就是设置起来有点是特别好理解，默认版本也是这样子的。操作步骤全写在下面这幅图片里了： 可以看看人家是怎么改的 PuTTY 源代码的： 修改Putty 0.6 代码支持SSH [...]]]></description>
		<wfw:commentRss>http://unmi.cc/putty-auto-login/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何无需密码进行 SSH 连接[翻译]</title>
		<link>http://unmi.cc/ssh-no-need-input-password</link>
		<comments>http://unmi.cc/ssh-no-need-input-password#comments</comments>
		<pubDate>Mon, 20 Jul 2009 07:33:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/%e5%a6%82%e4%bd%95%e6%97%a0%e9%9c%80%e5%af%86%e7%a0%81%e8%bf%9b%e8%a1%8c-ssh-%e8%bf%9e%e6%8e%a5%e7%bf%bb%e8%af%91</guid>
		<description><![CDATA[译自：http://www.vineetmanohar.com/2009/07/17/howto-ssh-without-password/ 这个简单的教程讲解了如何无需输入密码 SSH 连接到远程机器。在你需频繁的登陆到同一机器，而又不得不一次次输入密码时就可以使用这一技术。这也很适于这样的场景：当你有一个脚本需要通过 SSH 从远程机器取文件或者在远程机器上执行一个任务，并且希望能自动的运行该脚本，而用不着人工去输入一个密码。 这些指令在 Linux 和 Mac 下能正常工作。你可以在 Windows 下参照同样的方法来使用 Putty，但是我这里没有针对具体 Putty 指令作描述。 目标：从本机登陆到远程服务器无需输入密码 步骤 1/2：在本机上：生成认证码 认证码是一个私钥公钥对。你的公钥也是一个 2-3 行的长长看不懂东西。公钥就像是你登录后的唯一标识。私钥就像是你的密码，但比一个规则的密码要长。你可以通过如下命令来产生你的公钥和私钥： ssh-keygen -t rsa Generating public/private rsa key pair.Enter file in which to save the key (/home/vineetmanohar/.ssh/id_rsa: 接受默认的选择。按回车键。 Enter passphrase (empty for no passphrase): Enter same passphrase again: 回车两次。密钥(passphrase) 是用来对你的私钥进行加密的，加密后就没有人能看得懂它了。然而，假如你想要无密码登陆的话，就不能对你的私钥进行加密。 The key fingerprint is: [...]]]></description>
		<wfw:commentRss>http://unmi.cc/ssh-no-need-input-password/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>vi 与 vim 的区别，及 vim 的语法加亮</title>
		<link>http://unmi.cc/vi-vim-difference-syntax-highlight</link>
		<comments>http://unmi.cc/vi-vim-difference-syntax-highlight#comments</comments>
		<pubDate>Wed, 24 Jun 2009 08:23:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[HighLight]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/vi-%e4%b8%8e-vim-%e7%9a%84%e5%8c%ba%e5%88%ab%ef%bc%8c%e5%8f%8a-vim-%e7%9a%84%e8%af%ad%e6%b3%95%e5%8a%a0%e4%ba%ae</guid>
		<description><![CDATA[之前每次终端连接到了 Linux/Unix 编辑文件，只知道用 vi，至于此时是 vi 还是 vim 就不得而知了，也不知如何去知。总以为 vi 就是 vim，vim 就是 vi，就没认真想过多出的 vim 是怎么回事。 据说：vi - visual editor, very inconvenient, or virtually incomprehensible， vim - VI IMproved，俨然是个 vi 的加强版。 只是经常会登录同是 Redhat AS 4 的两台机器，同样是用 vi 启动编辑器，一个能进行语法加亮，v 可进入可视模式，空行前的波浪号是蓝色的(下称机器A)；另一个对于各种语法却是熟视无睹，v 无法进入可视模式，空行前的波浪号也是白色的(下称机器A)。这时才想起是否是 vi 与 vim  的区别，网上找来： 简单点来说，它们都是多模式编辑器， 不同的是vim 是vi的升级版本，它不仅兼容vi的所有指令， 而且还有一些新的特性在里面。 vim的这些优势主要体现在以下几个方面： 1、多级撤消     我们知道在 vi 里，按 u 只能撤消上次命令，而在 vim [...]]]></description>
		<wfw:commentRss>http://unmi.cc/vi-vim-difference-syntax-highlight/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vi/vim 快捷键盘对照图（含中英文）</title>
		<link>http://unmi.cc/vi-vim-shortcuts</link>
		<comments>http://unmi.cc/vi-vim-shortcuts#comments</comments>
		<pubDate>Wed, 24 Jun 2009 03:43:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/vivim-%e5%bf%ab%e6%8d%b7%e9%94%ae%e7%9b%98%e5%af%b9%e7%85%a7%e5%9b%be%ef%bc%88%e5%90%ab%e4%b8%ad%e8%8b%b1%e6%96%87%ef%bc%89</guid>
		<description><![CDATA[对于经常要辗转于 Linux/Unix 终端的用户，时常要使用 vi 来编辑文本。Emacs 虽说功能强，但学习起来更为陡峭，而况有些系统默认时没有 Emacs。 对于 vi 未有多份心者，也许使用它四五年时间，不过 i、o、dd、:wq、方向键移动光标尔耳，y、p 拷贝粘贴都极少用。 总是想，既然常常用一个软件，那就尽量用好它，为工作多提升效率，不必多耗费时间，只每时多份心而已。故网上找来 vi/vim 的快捷键盘对照图，有中英文对照，可打印出来，贴于你座位的隔板上，以助记忆习知。 若是对 vi/vim 有了好感，也想在 windows 一试 vi/vim  的身手，你可以用 cygwin 里的 vi。而且 vi/vim 也像 Emacs  一样，有了 for windows 版的 vi/vim，并且一来就是俩： 1. winvi32  官网 http://www.winvi.de/en/， 下载页面 http://www.winvi.de/en/download.html 2. gvim 官网 http://www.vim.org ，下载页面 http://www.vim.org/download.php#pc 下面是 vi/vim 快捷键盘对照图（含中英文），点击可看清晰大图。 循着图片上的网址看看 http://www.viemu.com/，能够发现，你还可以把 vi/vim 的使用方式应用到 Visual Studio、Word、Outlook 和 SQL Server 中。]]></description>
		<wfw:commentRss>http://unmi.cc/vi-vim-shortcuts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>通过 Squid 访问出现“确保报表服务器server.property设置了&#039;proxyServer&#039;参数”的解决</title>
		<link>http://unmi.cc/squid-server-property-proxyserver-error</link>
		<comments>http://unmi.cc/squid-server-property-proxyserver-error#comments</comments>
		<pubDate>Fri, 12 Jun 2009 03:07:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Squid]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/%e9%80%9a%e8%bf%87-squid-%e8%ae%bf%e9%97%ae%e5%87%ba%e7%8e%b0%e2%80%9c%e7%a1%ae%e4%bf%9d%e6%8a%a5%e8%a1%a8%e6%9c%8d%e5%8a%a1%e5%99%a8server-property%e8%ae%be%e7%bd%ae%e4%ba%86proxyserver%e5%8f%82</guid>
		<description><![CDATA[内部网通过 Squid 代理访问国税的 税收调查网上直报(http://218.18.101.150:8001/i/main.jsp) -- i@Report通用 WEB网络报表平台 时页面只出现： XXX.XXX.XXX.xx透过反向代理访问服务器。请确保报表服务器server.property设置了'proxyServer'参数 不走代理就没事，在网上通过上面的关键字没找到相应的解决办法，还查英文的报错信息： please esure property "proxyServer" in server.property was not empty 找到一份答案：http://bbs2.chinaunix.net/archiver/tid-1391943.html 原因是访问该网站时要求 Squid 对 请求 Header 部作些处理，上面链接中给了多种方法，有些不一定对你可行。最后我是在 squid.conf 文件后面加上以下两行： header_access Via deny All header_access X-Forwarded-For deny All 它们默认是 aloow，这里的  All 对应我的配置是 acl All src 0/0 保存文件，然后执行 squid -k reconfigure 后再访问该网站就 OK 啦。 参考：1. 用squid就不能访问，不用就能访问。【已经解决】]]></description>
		<wfw:commentRss>http://unmi.cc/squid-server-property-proxyserver-error/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emacs 快速指南[Emacs 在带的 Tutorial]</title>
		<link>http://unmi.cc/emacs-tutorial-carried-by-itself</link>
		<comments>http://unmi.cc/emacs-tutorial-carried-by-itself#comments</comments>
		<pubDate>Sun, 07 Jun 2009 07:51:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/emacs-%e5%bf%ab%e9%80%9f%e6%8c%87%e5%8d%97emacs-%e5%9c%a8%e5%b8%a6%e7%9a%84-tutorial</guid>
		<description><![CDATA[【注意：位于【】之间的内容是译注，比如本行，下同。】 Emacs 键盘命令通常包含 CONTROL 键（有时候以 CTRL 或 CTL 来标示）和META 键（有时候用 EDIT 或 ALT 来标示）。为了避免每次都要写出全名，我们约定使用下述缩写：  C-&#60;chr&#62;  表示当输入字符 &#60;chr&#62; 时按住 CONTROL 键。           因此 C-f 就表示：按住 CONTROL 键再输入 f。  M-&#60;chr&#62;  表示当输入字符 &#60;chr&#62; 时按住 META（或 EDIT 或 ALT）键。           如果你的键盘上没有 META 、EDIT 或 ALT 键，用下述方法也等效：           先按一下 ESC 键然后放开，再输入 &#60;chr&#62;。我们用 &#60;ESC&#62; 来表示 ESC 键。 重要提示：要退出 Emacs，请用 C-x C-c（两个连续的组合键）。下文中左边顶行的“&#62;&#62;”字样用来提示你尝试键盘命令。比如： [...]]]></description>
		<wfw:commentRss>http://unmi.cc/emacs-tutorial-carried-by-itself/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emacs 的入门操作</title>
		<link>http://unmi.cc/emacs-get-started</link>
		<comments>http://unmi.cc/emacs-get-started#comments</comments>
		<pubDate>Sun, 07 Jun 2009 05:00:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/emacs-%e7%9a%84%e5%85%a5%e9%97%a8%e6%93%8d%e4%bd%9c</guid>
		<description><![CDATA[1. 总体说明 M 键的替代，如 M-v，表示按住 META(EDIT 或 ALT 键)，再按 v。如果没有 META、EDIT 或 ALT 键，则先按下 ESC 键，然后放开，再输入 v。好在我们的键盘一般都有 ALT 键，那就是 ALT-v 吧。 查看命令帮助的方法：C-h k C-f 就能在下方窗口中看到 C-f 的使用说明 如果一行超过窗口的宽度，换行时会有反斜杠(控制台下)，或转弯箭头(图形系统)标示出。 2. C-x 系列操作 这个系列的命令多与 “窗格、文件、缓冲" 的控制操作有关。 后再加   C-c 退出   C-s(save) 保存 3. 光标的移动 C-v(助记：Move) 下移一屏，M-v 上移一屏，C-l(助记：load/Reload) 重绘屏幕，并将光标置于屏幕中央，也可以用 PageDown 和 PageUp 的滚屏。 光标的上下左右移动分别是（这都能用光标键来操作的）： C-p(previous) 上一行，C-n(next) 下一行，C-b(backward) 加退，C-f(forward) [...]]]></description>
		<wfw:commentRss>http://unmi.cc/emacs-get-started/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vi 和 Emacs 使用点滴</title>
		<link>http://unmi.cc/vi-emacs-little-by-little</link>
		<comments>http://unmi.cc/vi-emacs-little-by-little#comments</comments>
		<pubDate>Fri, 05 Jun 2009 19:02:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/vi-%e5%92%8c-emacs-%e4%bd%bf%e7%94%a8%e7%82%b9%e6%bb%b4</guid>
		<description><![CDATA[1. Vi 中执行系统命令 命令模式下用 ! (Shell 命令),如      :! perl test.pl 2. Vi 中拷贝、剪切、粘贴操作     v(逐字符)或V(逐行)进入可视模式(Visual mode),然后用方向键或hjkl等移动命令就可以选择了. 拷贝: 选择完后按y；剪切: 选择完后按d；粘贴: 移动到合适的地方, 按 p, 也可以用 P 3. 控制台下的 Emacs 支持语法加亮 在 ~/.emacs 文件(没有该文件则新建一个) 中加上 (global-font-lock-mode t) 或者你进一 Emacs 中执行 M-x global-font-lock-mode 也能看到语法加亮的效果 有说在 ~/.emacs 中加上这个定制变量的   (custom-set-variables       '(global-font-lock-mode   t   nil [...]]]></description>
		<wfw:commentRss>http://unmi.cc/vi-emacs-little-by-little/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下不同文件编码的转换[转]</title>
		<link>http://unmi.cc/linux-converter-file-encodin</link>
		<comments>http://unmi.cc/linux-converter-file-encodin#comments</comments>
		<pubDate>Tue, 02 Jun 2009 09:59:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/linux%e4%b8%8b%e4%b8%8d%e5%90%8c%e6%96%87%e4%bb%b6%e7%bc%96%e7%a0%81%e7%9a%84%e8%bd%ac%e6%8d%a2%e8%bd%ac</guid>
		<description><![CDATA[一、什么是编码。 字符编码(Character Encoding)可以说就是让某一字符序列匹配一个指定集合中的某一东西，常见的例子包括长短电键组合起来表示的摩斯电码(Morse Code)、Baudot code、Unicode和用二进制来表示的ASCII(American Standard Code for Information Interchange)码、这样便能够将文本在计算机中存储和通过通信网络发送出去。 字符表(Character Set)和字符编码(Character Encoding)经常被混淆。实际上Character Set(字符表)只是指一组为特定的Encoding System(编码系统)使用的符号集合，而不包含他们的数字含义或者顺序。而Character Encoding(字符编码)则包括了Character Set（字符表）和每个字符在字符编码集中的表示方法。由于历史的原因，MIME(Multipurpos Internet Mail Extensions)和使用这种编码的系统使用属于“字符集(Charset)”来表示用于将一组字符编码成一系列8位字节数据的整个系统。 摩斯电码(Morse Code)发明于1840年，用来编码字母、数字和拉丁字符，都用长短组合的电键来表示。 ASCII码发明与1963年，是由7位(7-bit)的二进制代码表示字符、数字、符号和固定长度的设备控制代码。同年，IBM使用8位(8-bit)的编码机制实现了ASCII的扩展EBCDIC(IBM's Extended Binary Coded Decimal Interchange Code)。 二、现代编码模型 Unicode和与他同等的标准ISO/IEC10646 UCS(Universal Character Set)共同构成了现代字符编码，为了更详细的解释这两个标准我们需要了解下面的一些概念。 字符表（Character Set或Character repertoire）是一个系统所支持的所有抽象字符的总和。字符表可以是封闭的，例如ASCII和多数ISO/IEC 8859，也可以是开放的，例如Unicode等可以添加新的符号。特定字符表中的字符反映了如何将书写系统分解成线性信息单元的问题。 编码字符集（CCS：Code Character Set）定义了如何使用称为码点的非负整数表示一个字符表。一个完整的字符集和对应的整数一起称为“编码字符集”。多个编码字符集可以表示同样的字符表，例如ISO-8859-1和IBM的代码页037和500覆盖同样的字符表但是将他们映射为不同的代码。 字符编码形式（CEF：Character Encoding Form）定义将编码字符集的整数代码转换成有限大小整数代码值以有利于使用固定位的二进制表示数字的形式的系统存储。 字符编码机制（CES：Character Encoding Scheme）定义固定大小的整数代码如何映射到适合基于8位字节数居的文件系统存储或者基于8位字节网络传输。在多数使用Unicode的场合，一个简单的字符编码机制用来指定每个整数的字节顺序是大字节在先排列顺序（Big-Endian）或者小字节在先排列顺序（Little-Endian）。然而，有些复杂的字符编码机制使用转义序列在几种简单编码机制和用于减小每个单元所用字节数的压缩机制之间切换。 Big endian和Little endian。 “endian”这个词出自《格列佛游记》。小人国的内战就源于吃鸡蛋时是究竟从大头(Big-Endian)敲开还是从小头(Little-Endian)敲开，由此曾发生过六次叛乱，其中一个皇帝送了命，另一个丢了王位。 三、文件编码格式。 从文件编码的方式来看，文件可分为ASCII文件和二进制文件。 ASCII文件也称为文本文件，这种文件在磁盘中存放时每个字符对应一个字节，用于存放对应的ASCII码。 二进制文件是按二进制的编码方式来存放文件的。 [...]]]></description>
		<wfw:commentRss>http://unmi.cc/linux-converter-file-encodin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu (Linux Mint 7)下安装 IE (ies4linux)</title>
		<link>http://unmi.cc/ubuntu-linux-mint-7-ies4linux</link>
		<comments>http://unmi.cc/ubuntu-linux-mint-7-ies4linux#comments</comments>
		<pubDate>Mon, 01 Jun 2009 07:28:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[ies4linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mint]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/ubuntu-linux-mint-7%e4%b8%8b%e5%ae%89%e8%a3%85-ie-ies4linux</guid>
		<description><![CDATA[ 我安装的 Linux 是 Linux Mint 7，它是基于 Ubuntu 9.04 的发行版，它提供一种更开箱即用的用户体验。如去除了顶端的任务栏，安装后即包括了浏览器插件(如 Flash)，多媒体解码器，对 DVD 播放的支持，Java 和其他组件等。它与 Ubuntu 软件仓库完全兼容。 免去游戏方面，Linux 基本能应付得了日常事物的。可偏偏有些网站与 IE 结缘太深，更不争气的还就是 BlogJava，它的编辑器在非 IE 浏览器上处理 &#60;textarea&#62; 不能正常，所以我要考虑装个 IE 在 Linux 上。 所用的软件是 ies4linux，复数的，可以同时安装多个版本的 IE。它用样是由 wine 来模拟运行的，所以必须先安装 wine，你可以用新立得软件包管理器来安装 wine，也可以直接用 apt-get 来安装 wine。 然后是 ie24linux 的安装，安装步骤如下：  wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz  tar zxvf ies4linux-latest.tar.gz  cd ies4linux-*  ./ies4linux 当前版本是 2.99.0.1，那么会有图形界面提示你选择安装哪个 IE 版本(5.0/5.5/6.0/7.0)，是否安装 flash 插件，在哪里加上菜单。也许你也和我一样有些不幸，安装过程大概在下载 [...]]]></description>
		<wfw:commentRss>http://unmi.cc/ubuntu-linux-mint-7-ies4linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux 下仅用 iptables 实现为透明代理服务器</title>
		<link>http://unmi.cc/linux-iptables-transparent-proxy</link>
		<comments>http://unmi.cc/linux-iptables-transparent-proxy#comments</comments>
		<pubDate>Mon, 15 Dec 2008 06:15:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Proxy]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/linux-%e4%b8%8b%e4%bb%85%e7%94%a8-iptables-%e5%ae%9e%e7%8e%b0%e4%b8%ba%e9%80%8f%e6%98%8e%e4%bb%a3%e7%90%86%e6%9c%8d%e5%8a%a1%e5%99%a8</guid>
		<description><![CDATA[在网上 Google/Baidu  一下 “iptables 代理服务器” 多是讲的 iptables 结合 Squid 来实现透明代理的，用 iptables 把请求转发到 Squid  的代理端口上的，由于 Squid 有其局限性，不能支持 POP3、SMTP 和 P2P 协议。所以想在不影响多数人上网方式，集中控制的情况下，给自己单独开个小灶，用 iptables 在代理服务器上另辟一条溪径。 代理服务器有两网卡： eth0 10.1.0.1  连接内部的网卡 eth1 202.x.x.x       能上互联网的网卡 建立脚本，比如 /usr/local/transparent_proxy.sh，内容如下： #!/bin/sh echo "1"&#62;/proc/sys/net/ipv4/ip_forward /sbin/modprobe ip_tables /sbin/modprobe ip_nat_ftp #如果这台机器是拨号上网的，EXTIF 可能是 ppp+ EXTIF=eth1 ANY=0.0.0.0/0 #比如说你个人的机器 ip 是 10.1.0.80 的话，这样配置就你一个人可用这条线路 LAN=10.1.0.80/32 /sbin/iptables -F INPUT /sbin/iptables -F OUTPUT [...]]]></description>
		<wfw:commentRss>http://unmi.cc/linux-iptables-transparent-proxy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware+Linux AS4 为虚拟机新增了硬盘，该如何加载？[摘]</title>
		<link>http://unmi.cc/vmware-linux-as4-add-new-harddis</link>
		<comments>http://unmi.cc/vmware-linux-as4-add-new-harddis#comments</comments>
		<pubDate>Tue, 01 Apr 2008 04:21:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/vmwarelinux-as4-%e4%b8%ba%e8%99%9a%e6%8b%9f%e6%9c%ba%e6%96%b0%e5%a2%9e%e4%ba%86%e7%a1%ac%e7%9b%98%ef%bc%8c%e8%af%a5%e5%a6%82%e4%bd%95%e5%8a%a0%e8%bd%bd%ef%bc%9f%e6%91%98</guid>
		<description><![CDATA[VMware 中安装了 Linux 后，又给这个虚拟机增加一个硬盘，假设选的类型是 SCSI， 进到虚拟机系统中应如何加载呢？ 其实这后 Linux 新加了一个物理硬盘是一回事，做法如下： 在服务器上把硬盘接好，启动linux，以root登陆。 比如我新加一块SCSI硬盘，需要将其分成三个区： #fdisk /dev/sdb 进入fdisk模式： Command (m for help):p //查看新硬盘的分区 Command (m for help):n //创建新分区 可以用m命令来看fdisk命令的内部命令；n命令创建一个新分区；d命令删除一个存在的分区；p命令显示分区列表；t命令修改分区的类型ID号；l命令显示分区ID号的列表；a命令指定启动分区；w命令是将对分区表的修改存盘让它发生作用。 Command action e extended //输入e为创建扩展分区 p primary partition (1-4) //输入p为创建主分区，这里我们选择p Partion number(1-4)：1 //第一个扩展分区，按你需求可以最多分4个主分区 First Cylinder(1-1014,default 1): 1 //第一个主分区起始的磁盘块数 Last cylindet or +siza or +sizeM or +sizeK: +1024MB //可以是以MB为单位的数字或者以 磁盘块数，这里我们输入+1024MB表示分区大小为1G。 这样我们就创建完一个分区，如果要创建更多分区可以照上面的步骤继续创建。 [...]]]></description>
		<wfw:commentRss>http://unmi.cc/vmware-linux-as4-add-new-harddis/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>命令行使用PuTTY的几个参数[转]</title>
		<link>http://unmi.cc/putty-parameters</link>
		<comments>http://unmi.cc/putty-parameters#comments</comments>
		<pubDate>Mon, 15 Oct 2007 06:28:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[parameter]]></category>
		<category><![CDATA[Putty]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%bd%bf%e7%94%a8putty%e7%9a%84%e5%87%a0%e4%b8%aa%e5%8f%82%e6%95%b0%e8%bd%ac</guid>
		<description><![CDATA[使用ssh的朋友应该会知道这个工具，小巧，不需要安装，功能也不弱，是一个理想的ssh工具。 在使用中，需要将PuTTY放到批处理文件中调用，自动登录上服务器，然后运行命令，退出。google，百度搜索了都没有相关的中文资料，于是直接看英文文档，使用到的几个参数做一个说明，抛砖引玉。欢迎补充转载，请注明出处。 命令行格式 putty [-pw password] [-m file] user@ip_addr -pw password 使用ssh登录的用户的密码（明文，所以安全性请自己考虑） -m file 要在服务器上运行的命令 user@ip_addr 使用ssh登录的用户名和服务器的ip地址 例如，现在的很多在线式的UPS，提供的for unix的驱动都不是很好。在UPS快没有电时， windows服务器关机前，通知unix服务器关机。脚本如下: shutdown.bat /* windows服务器关机前执行这个批处理 */ putty -pw 123456 -m poweroff.sh root@192.168.123.123 poweroff.sh /*这个是想在服务上执行的命令 */ shutdown -h now 把两个文件和putty.exe存在$SystemRoot下，先手工用putty连接一次（目的是为了得到一个公钥），应该就可以了。 具体的文档参考http://the.earth.li/~sgtatham/putty/0.54/htmldoc/Chapter3.html#3.7 转自：http://www.lslnet.com/linux/dosc1/24/linux-209470.htm]]></description>
		<wfw:commentRss>http://unmi.cc/putty-parameters/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux/Unix下读取lib目录下所有包生成classpath的Shell</title>
		<link>http://unmi.cc/linux-unix-lib-classpath-shell</link>
		<comments>http://unmi.cc/linux-unix-lib-classpath-shell#comments</comments>
		<pubDate>Wed, 25 Jul 2007 13:14:00 +0000</pubDate>
		<dc:creator>Unmi</dc:creator>
				<category><![CDATA[Java/JEE]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[classpath]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://unmi.cc/uncategorized/linuxunix%e4%b8%8b%e8%af%bb%e5%8f%96lib%e7%9b%ae%e5%bd%95%e4%b8%8b%e6%89%80%e6%9c%89%e5%8c%85%e7%94%9f%e6%88%90classpath%e7%9a%84shell</guid>
		<description><![CDATA[做了一个 Java 程序放在 Solaris 下运行，用到许多的第三方包，有 *.zip 的和 *.ja r的，放在 lib 目录下，然后写了一个 shell 脚本来运行那个 java 程序，那就要在 classpath 中包含所有在 lib 中的第三方包。 原来的做法是在 classpath中把lib目录中一个个的包文件名用冒号连缀起来，比如 classpath=.:lib/a.jar:lib/b.jar:lib/c.jar:lib/d.zip java -classpath $classpath com.unmi.Main 碰到程序升级，在lib中增加或减少了包文件，又要再重新修改那个启动 java 程序的 shell 脚本,甚是麻烦。由此想写个 shell，功能是能列举lib目录下所有第三方包，用冒号连缀成一个 classpath 变量，这样的话，无论在 lib 目录中增减包，都不需要再次修改那个启动 java 程序的 shell 脚本，就像 tomcat，无论是 common/lib 还是 app/WEB-INF/lib 中的第三方包，即放即用。 记得在以前一个公司，有见过这样的脚本，不过记不清了，大致是用 while 循环来生成那样一个classpath 变量的。 还好在网上有高人出手相救，在 CSDN 发了一个贴： http://community.csdn.net/Expert/topic/5671/5671131.xml?temp=.7013971 过一天就有人回复，完成这一功能的代码是： #!/bin/sh [...]]]></description>
		<wfw:commentRss>http://unmi.cc/linux-unix-lib-classpath-shell/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 11/96 queries in 0.086 seconds using disk: basic
Object Caching 5116/5295 objects using disk: basic

Served from: unmi.cc @ 2012-02-23 07:44:04 -->
