﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Kyle's Space-随笔分类-Environment Skills</title><link>http://www.blogjava.net/xiaodong0417/category/51485.html</link><description>Java Study</description><language>zh-cn</language><lastBuildDate>Thu, 21 Nov 2013 08:35:58 GMT</lastBuildDate><pubDate>Thu, 21 Nov 2013 08:35:58 GMT</pubDate><ttl>60</ttl><item><title>Linux 查看系统信息常用命令</title><link>http://www.blogjava.net/xiaodong0417/archive/2013/11/21/406619.html</link><dc:creator>王树东</dc:creator><author>王树东</author><pubDate>Thu, 21 Nov 2013 03:21:00 GMT</pubDate><guid>http://www.blogjava.net/xiaodong0417/archive/2013/11/21/406619.html</guid><wfw:comment>http://www.blogjava.net/xiaodong0417/comments/406619.html</wfw:comment><comments>http://www.blogjava.net/xiaodong0417/archive/2013/11/21/406619.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/xiaodong0417/comments/commentRss/406619.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xiaodong0417/services/trackbacks/406619.html</trackback:ping><description><![CDATA[<span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># uname -a # 查看内核/操作系统/CPU信息&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># head -n 1 /etc/issue # 查看操作系统版本&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># cat /proc/cpuinfo # 查看CPU信息&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># hostname # 查看计算机名&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># lspci -tv # 列出所有PCI设备&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># lsusb -tv # 列出所有USB设备&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># lsmod # 列出加载的内核模块&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># env # 查看环境变量资源&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># free -m # 查看内存使用量和交换区使用量&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># df -h # 查看各分区使用情况&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># du -sh &lt;目录名&gt; # 查看指定目录的大小&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># grep MemTotal /proc/meminfo # 查看内存总量&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># grep MemFree /proc/meminfo # 查看空闲内存量&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># uptime # 查看系统运行时间、用户数、负载&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># cat /proc/loadavg # 查看系统负载磁盘和分区&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># mount | column -t # 查看挂接的分区状态&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># fdisk -l # 查看所有分区&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># swapon -s # 查看所有交换分区&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># hdparm -i /dev/hda # 查看磁盘参数(仅适用于IDE设备)&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># dmesg | grep IDE # 查看启动时IDE设备检测状况网络&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># ifconfig # 查看所有网络接口的属性&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># iptables -L # 查看防火墙设置&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># route -n # 查看路由表&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># netstat -lntp # 查看所有监听端口&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># netstat -antp # 查看所有已经建立的连接&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># netstat -s # 查看网络统计信息进程&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># ps -ef # 查看所有进程&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># top # 实时显示进程状态用户&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># w # 查看活动用户&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># id &lt;用户名&gt; # 查看指定用户信息&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># last # 查看用户登录日志&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># cut -d: -f1 /etc/passwd # 查看系统所有用户&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># cut -d: -f1 /etc/group # 查看系统所有组&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># crontab -l # 查看当前用户的计划任务服务&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># chkconfig &#8211;list # 列出所有系统服务&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># chkconfig &#8211;list | grep on # 列出所有启动的系统服务程序&nbsp;</span><br style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><span style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"># rpm -qa # 查看所有安装的软件包</span><img src ="http://www.blogjava.net/xiaodong0417/aggbug/406619.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xiaodong0417/" target="_blank">王树东</a> 2013-11-21 11:21 <a href="http://www.blogjava.net/xiaodong0417/archive/2013/11/21/406619.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux 上服务的安装以及示例：Apache服务的安装（转）</title><link>http://www.blogjava.net/xiaodong0417/archive/2013/01/17/394342.html</link><dc:creator>王树东</dc:creator><author>王树东</author><pubDate>Thu, 17 Jan 2013 02:23:00 GMT</pubDate><guid>http://www.blogjava.net/xiaodong0417/archive/2013/01/17/394342.html</guid><wfw:comment>http://www.blogjava.net/xiaodong0417/comments/394342.html</wfw:comment><comments>http://www.blogjava.net/xiaodong0417/archive/2013/01/17/394342.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/xiaodong0417/comments/commentRss/394342.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xiaodong0417/services/trackbacks/394342.html</trackback:ping><description><![CDATA[<div>1. chkconfig脚本格式：</div> <div>#!/bin/sh <br />#chkconfig 2345 55 45  <br />#上面为固定格式：2345 表示运行级别，55表示开机执行顺序，45为关机顺序 <br />#description：this is just a demo  of chkconfig script <br />case &#8220;$1&#8221; in <br />start)</div> <div>&lt;start-script&gt;</div> <div>;;</div> <div>Stop)</div> <div>&lt;stop-script&gt;</div> <div>;;</div> <div>Status)</div> <div>Echo &lt;the information you want to display&gt;</div> <div>;;</div> <div>*)</div> <div>Echo &#8220;the usage of the script&#8221;</div> <div>Case</div> <div>2. 然后将脚本保存,并赋予执行权限,再复制到/etc/init.d目录 <br />#chmod a+x &lt;myscript&gt;  <br />#copy &lt;myscript&gt; /etc/init.d</div> <div>3. 使用chkconfig命令添加成服务 <br />#chkconfig --add &lt;myscript&gt; <br />#chkconfig  --level 35 &lt;myscript &gt; on <br />#chkconfig --list &lt;myscript&gt;</div> <div>4. 然后就可以通过service命令管理了 <br />#service &lt;myscript&gt; start | stop |  status</div> <div>5. 下面是我写的一个实例脚本，大家可以参考一些格式：</div> <div>#!/bin/sh</div> <div>#chkconfig: 2345 99 99</div> <div>#description:the script to set the network at run level 2345</div> <div>IN=eth0</div> <div>OUT=eth1</div> <div>HOST_NAME=cluster1.yang.com</div> <div>INIP=192.168.10.10</div> <div>OUTIP=192.168.136.10</div> <div>MASK=255.255.255.0</div> <div>IP=/sbin/ip</div> <div>IFC=/sbin/ifconfig</div> <div>ROUTE=/sbin/route</div> <div>#flush the address</div> <div>case "$1" in</div> <div>start)</div> <div>#echo "flush the address..."</div> <div>#$IP addr flush dev eth0</div> <div>#$IP addr flush dev eth1</div> <div>echo "set the address..."</div> <div>$IFC $IN $INIP netmask $MASK up</div> <div>$IFC $OUT $OUTIP netmask $MASK up</div> <div>echo "set the hostname..."</div> <div>hostname $HOST_NAME</div> <div>echo "set the default gateway..."</div> <div>$IP route flush all</div> <div>$ROUTE add default gw 192.168.136.2</div> <div>echo "finshed!!!"</div> <div>;;</div> <div>stop)</div> <div>echo "flush the network setting..."</div> <div>$IP addr flush dev eth0</div> <div>$IP addr flush dev eth1</div> <div>echo "flush finshed!!!"</div> <div>;;</div> <div>status)</div> <div>echo "hostname is $HOST_NAME"</div> <div>$IFC eth0</div> <div>$IFC eth1</div> <div>;;</div> <div>*)</div> <div>echo "requires start,stop or status"</div> <div>;;</div> <div>esac</div> <div>--------------------------------------------------------------------------------------------</div> <div>--------------------------------------------------------------------------------------------</div> <div> <p>在Linux中chkconfighttpd任务添加，Apache服务器的最新稳定发布版本是httpd-2.2..0,官方下载地址是：http://httpd.apache.org/download.cgi。我们通过下面的步骤来快速的搭建一个web服务器。</p> <p>1、下载源码文件httpd-2.2.0.tar.gz 到linux服务器的某个目录。<br />2、解压文件 # tar zxvf  httpd-2.2.0.tar.gz .<br />3、配置 # ./configure &#8211;refix=/usr/local/apache  //指定安装目录，以后要删除安装就只需删除这个目录。<br />4、编译和安装。 # make ; make install  .<br />5、编写启动脚本，把它放到目录 /etc/rc.d/init.d/里，这里取名为httpd,其内容如下：<br />&nbsp;</p><pre><ol><li>#!/bin/bash &nbsp;</li><li>#description:http&nbsp;server &nbsp;</li><li>#chkconfig:&nbsp;235&nbsp;98&nbsp;98 &nbsp;</li><li>case&nbsp;"$1"&nbsp;in &nbsp;</li><li>start) &nbsp;</li><li>echo&nbsp;"Starting&nbsp;Apache&nbsp;daemon..." &nbsp;</li><li>/usr/local/apache2/bin/apachectl&nbsp;-k&nbsp;start &nbsp;</li><li>;; &nbsp;</li><li>stop) &nbsp;</li><li>echo&nbsp;"Stopping&nbsp;Apache&nbsp;daemon..." &nbsp;</li><li>/usr/local/apache2/bin/apachectl&nbsp;-k&nbsp;stop &nbsp;</li><li>;; &nbsp;</li><li>restart) &nbsp;</li><li>echo&nbsp;"Restarting&nbsp;Apache&nbsp;daemon..." &nbsp;</li><li>/usr/local/apache2/bin/apachectl&nbsp;-k&nbsp;restart &nbsp;</li><li>;; &nbsp;</li><li>status) &nbsp;</li><li>statusproc&nbsp;/usr/local/apache2/bin/httpd &nbsp;</li><li>;; &nbsp;</li><li>*) &nbsp;</li><li>echo&nbsp;"Usage:&nbsp;$0&nbsp;{start|stop|restart|status}" &nbsp;</li><li>exit&nbsp;1 &nbsp;</li><li>;; &nbsp;</li><li>Esac &nbsp;</li></ol></pre> <p>&nbsp;</p> <p><strong>注意：#description:http server  这一行必须加上</strong>，否则在执行命令</p> <p>&nbsp;# chkconfig &#8211;add httpd </p> <p>时会出现&#8220;service apache does not support chkconfig&#8221;的错误报告。</p> <p>#chkconfig: 2345 98 98 表示在执行命令</p> <p>&nbsp;# chkconfig &#8211;add httpd 时会在目录 /etc/rc2.d/ 、/etc/rc3.d/ /etc/rc5.d 分别生成文件  S98httpd和 K98httpd。这个数字可以是别的。</p> <p>6、执行命令 # chkconfig &#8211;add httpd ，进入目录/etc/rc3.d/检查是否生成文件  S98httpd及K98httpd.<br />7、启动服务 # service httpd start .</p></div><img src ="http://www.blogjava.net/xiaodong0417/aggbug/394342.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xiaodong0417/" target="_blank">王树东</a> 2013-01-17 10:23 <a href="http://www.blogjava.net/xiaodong0417/archive/2013/01/17/394342.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>(转)Windows Server 2003 中寻找端口与进程的关联</title><link>http://www.blogjava.net/xiaodong0417/archive/2012/01/30/368992.html</link><dc:creator>王树东</dc:creator><author>王树东</author><pubDate>Mon, 30 Jan 2012 01:31:00 GMT</pubDate><guid>http://www.blogjava.net/xiaodong0417/archive/2012/01/30/368992.html</guid><wfw:comment>http://www.blogjava.net/xiaodong0417/comments/368992.html</wfw:comment><comments>http://www.blogjava.net/xiaodong0417/archive/2012/01/30/368992.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/xiaodong0417/comments/commentRss/368992.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xiaodong0417/services/trackbacks/368992.html</trackback:ping><description><![CDATA[@import url(http://www.blogjava.net/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
<div> Q：Windows Server 2003 中寻找端口与进程的关联 &nbsp;  A：如果发现一些从没见过的端口号，你怎么分辩出该端口是不是木马开放的端口？或者在进程列表中发现陌生的进程时，是否想知道该进程在你的系统中开了什么 端口？ 一，根据进程查端口号首先在开始菜单的&#8220;运行&#8221;框中输入&#8220;cmd.exe&#8221;进入命令提示符窗口，先键入&#8220;tasklist&#8221;命令将列出系统正在运行的进程 列表，把你要查的进程所对应的&#8220;PID&#8221;号记下或复制。把进程的PID好记下后，接下来就用这个PID号把该进程所开的端口显示出来了。在当前的命令符下 继续键入&#8220;netstat -ano | find 1140&#8221;命令，其中&#8220;netstat  -ano&#8221;参数表示以数字形式显示所有活动的TCP连接以及计算机正在侦听的TCP、UDP端口，并且显示查找进程ID(PID)号；&#8220;|find  1140&#8221;表示查找进程PID为&#8220;1140&#8221;的TCP连接以及TCP、UDP端口的侦听情况（在实际应用中，需要把你刚才记下或复制的PID号替换掉这里 的1140）。按&#8220;回车&#8221;键后，就会显示出该进程所开的端口号。 二，根据端口号查进程&nbsp;&nbsp; 在命令提示符窗口中输入&#8220;netstat  -ano&#8221;命令，列出系统当前的端口列表，该命令的作用已在上面提过了。-o参数的作用主要是显示各端口对应的进程PID号，现在把你要查的端口对应的进 程PID号记下或复制。然后在命令提示符下继续输入tasklist /fi&#8220;PID eq  788&#8221;(在实际应用中，需要把你复制或记下的PID号替换掉这里的788)，这行语句/fi参数表示在&#8220;tasklist&#8221;中筛选，而&#8220;ID eq  788&#8221;则是指定筛选的条件，按&#8220;回车&#8221;键后，就会显示出端口对应的进程。 三，查出进程对应的程序&nbsp;&nbsp;  知道了端口和进程的关联后，如何再进一步查出该进程是那个软件或程序的进程呢？下面的操作就需要用到Windows2000(Server或 Professional版都可以)安装光盘中的一个工具。首先在安装光盘的&#8220;Support\Tools\&#8221;目录下，用解压软件打开 &#8220;support.cab&#8221;压缩包，找到&#8220;tlist.exe&#8221;文件，将此文件释放到任一目录，如&#8220;D:\Support&#8221;。然后在命令提示符窗口中切换 到此目录，运行&#8220;tlist.exe&#8221;命令，把要查的进程对应的PID号记下或复制（第一列就是进程的PID号），然后继续输入&#8220;tlist.exe  2012&#8221;命令（你输入的时候，需要将刚才记下的PID号替换掉这里的2012），&#8220;CmdLine:&#8221;后面显示的就是该进程对应的软件所在的目录。除此 之外，返回信息中还列出了该进程所调用的文件，得到了这些信息就可以很容易查出进程对应的程序了。假如想关闭某个进程，可把该进程的PID号记下，在命令 提示符下输入&#8220;taskkill/pid  2400&#8221;(2400是PID号)就可以将PID号为2400的进程关闭，如果要强制关闭该进程，只须在这条命令的后面加个&#8220;/f&#8221;参数即可。</div>
来源：<a href="http://www.cn6154.com/ask/question.php?id=2623">http://www.cn6154.com/ask/question.php?id=2623</a><img src ="http://www.blogjava.net/xiaodong0417/aggbug/368992.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xiaodong0417/" target="_blank">王树东</a> 2012-01-30 09:31 <a href="http://www.blogjava.net/xiaodong0417/archive/2012/01/30/368992.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu 25个快捷键</title><link>http://www.blogjava.net/xiaodong0417/archive/2011/12/14/366380.html</link><dc:creator>王树东</dc:creator><author>王树东</author><pubDate>Wed, 14 Dec 2011 14:58:00 GMT</pubDate><guid>http://www.blogjava.net/xiaodong0417/archive/2011/12/14/366380.html</guid><wfw:comment>http://www.blogjava.net/xiaodong0417/comments/366380.html</wfw:comment><comments>http://www.blogjava.net/xiaodong0417/archive/2011/12/14/366380.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/xiaodong0417/comments/commentRss/366380.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xiaodong0417/services/trackbacks/366380.html</trackback:ping><description><![CDATA[@import url(http://www.blogjava.net/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
<p><span style="color: #000000">1. <strong>Win+E </strong>- 显示所有桌面，方便的左右选择。</span></p>
<p><span style="color: #000000">2.<strong> Alt+Ctrl+Left/Right Arrow</strong> -切换桌面</span></p>
<p><span style="color: #000000">3. <strong>Alt+Ctrl+Shift+Left/Right Arrow</strong> &#8211; 移动当前窗口到其他桌面</span></p>
<p><span style="color: #000000">4.<strong> Alt + Shift+ Up Arrow</strong> &#8211; 以很酷的方式显示当前窗口</span></p>
<p><span style="color: #000000">5. <strong>Alt+F9/F10</strong> &#8211; 最小化/最大化当前窗口</span></p>
<p><span style="color: #000000">6. <strong>Alt+F5</strong> -不最大化当前窗口</span></p>
<p><span style="color: #000000">7.<strong> Alt+F7</strong> &#8211; 激活当前窗口的移动选项，你可以使用方向键移动当前窗口，甚至移动到其他桌面。</span></p>
<p><span style="color: #000000">8.<strong> Alt+F8</strong> &#8211; 用方向键调整当前窗口大小</span></p>
<p><span style="color: #000000"><span id="more-2994"></span><br />
</span></p>
<p><span style="color: #000000">9. <strong>Ctrl + Alt + D</strong> &#8211; 显示桌面/恢复当前窗口</span></p>
<p><span style="color: #000000">10. <strong>Alt+ Tab</strong> &#8211; 切换窗口</span></p>
<h3><span style="color: #000000">Nautilus</span></h3>
<p><span style="color: #000000">11. <strong>Shift+Ctrl+N</strong> &#8211; 新建文件夹, 很有用</span></p>
<p><span style="color: #000000">12. <strong>Alt + Enter</strong> &#8211; 查看选择文件/文件夹的属性，代替单击右键选择属性</span></p>
<p><span style="color: #000000">13. <strong>Ctrl + 1/2</strong> &#8211; 改变文件夹视图查看方式，图标视图/列表视图</span></p>
<p><span style="color: #000000">14. <strong>Ctrl + W</strong> &#8211; 关闭当前Nautilus窗口</span></p>
<p><span style="color: #000000">15. <strong>Ctrl + Shift + W</strong> &#8211; 关闭所有Nautilus窗口</span></p>
<p><span style="color: #000000">16. <strong>Ctrl+T</strong> &#8211; 在Nautilus中新建一个标签</span></p>
<p><span style="color: #000000">17. <strong>Alt + Up/Down Arrow</strong> &#8211; 移动到父文件夹/选择的文件夹</span></p>
<p><span style="color: #000000">18. <strong>Alt + Left/Right Arrow</strong> &#8211; 后退/前进</span></p>
<p><span style="color: #000000">19. <strong>Alt + Home</strong> -直接移动到主文件夹</span></p>
<p><span style="color: #000000">20. <strong>F9</strong> &#8211; 开关显示Nautilus侧边栏</span></p>
<p><span style="color: #000000">21. <strong>Ctrl + H</strong> -开关显示隐藏文件夹</span></p>
<p><span style="color: #000000">22.<strong> Ctrl + Alt + L </strong>-锁屏</span></p>
<p><span style="color: #000000">23. <strong>Alt + F1</strong> &#8211; 打开应用程序菜单</span></p>
<p><span style="color: #000000">24.<strong> Alt + F2</strong> &#8211; 打开运行应用程序对话框</span></p>
<p><span style="color: #000000">25. <strong>Win + 鼠标滚轮</strong> &#8211; 放大/缩小屏幕<!--more--></span></p><img src ="http://www.blogjava.net/xiaodong0417/aggbug/366380.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xiaodong0417/" target="_blank">王树东</a> 2011-12-14 22:58 <a href="http://www.blogjava.net/xiaodong0417/archive/2011/12/14/366380.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Groovy Eclipse 插件安装失败</title><link>http://www.blogjava.net/xiaodong0417/archive/2011/11/20/364373.html</link><dc:creator>王树东</dc:creator><author>王树东</author><pubDate>Sun, 20 Nov 2011 13:33:00 GMT</pubDate><guid>http://www.blogjava.net/xiaodong0417/archive/2011/11/20/364373.html</guid><wfw:comment>http://www.blogjava.net/xiaodong0417/comments/364373.html</wfw:comment><comments>http://www.blogjava.net/xiaodong0417/archive/2011/11/20/364373.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/xiaodong0417/comments/commentRss/364373.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xiaodong0417/services/trackbacks/364373.html</trackback:ping><description><![CDATA[@import url(http://www.blogjava.net/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
最近不知道Groovy在搞什么鬼， Eclipse在线插件的安装总是有问题。<br />
然后只能在网上找到插件的压缩包，下载后再安装就好了。步骤如下：<br />
1.&nbsp;&nbsp;&nbsp;&nbsp;下载groovy 插件的安装包，链接：<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For Eclipse 3.7: <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://dist.springsource.org/release/GRECLIPSE/e3.7/archive-2.5.1.xx-20110628-1600-e37.zip" target="_blank"><font color="#006699">http://dist.springsource.org/release/GRECLIPSE/e3.7/archive-2.5.1.xx-20110628-1600-e37.zip</font></a>&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For Eclipse 3.6:&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://dist.springsource.org/release/GRECLIPSE/e3.6/archive-2.5.1.xx-20110627-1300-e36.zip" target="_blank"><font color="#006699">http://dist.springsource.org/release/GRECLIPSE/e3.6/archive-2.5.1.xx-20110627-1300-e36.zip</font></a> <br />
<br />
2.&nbsp;&nbsp;&nbsp;&nbsp;进入eclipse安装插件的页面，点击Add 添加新的插件，在弹出的对话框中选择Archieve<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;然后选择下载的压缩文件，安装就可以了。<img src ="http://www.blogjava.net/xiaodong0417/aggbug/364373.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xiaodong0417/" target="_blank">王树东</a> 2011-11-20 21:33 <a href="http://www.blogjava.net/xiaodong0417/archive/2011/11/20/364373.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>