摘要:UltraEdit安装好之后,拷贝到其它机器就可以直接使用而无需注册,但少了一个功能,就是无法选择某个文本文件用右键选择UltraEdit打开,很不方便,仔细查看注册表,发现把下面内容加入注册表即可:Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell][HKEY_CLASSES_ROOT\*\shell\UltraEdit]@="UltraEdit-32"[HKEY_CLASSES_ROOT\*\shell\UltraEdit\Command]@="D:\\temp\\uedit32.exe
阅读全文
摘要:我们运行如下命令,可看到Linux支持的信号列表:$ kill -l1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SI.
阅读全文
摘要:dhcpcd 是一个 dhcp 的客户端,可以从这里下载http://www.phystech.com/download/如何使用它呢?我是在ubuntu 11上面做的测试;1 编译,安装;./configure --prefix=/usr/local/dhcpcdmakemake install2 保证dhcp server运行正常我用的路由器的dhcp server3 运行到安装目录下面./dhcpcd4 结果ubuntu应该ip已经被修改;查看路由器的dhcp client列表,应该能够找到ubuntu的ip;
阅读全文
摘要:问题:我的一个工程中,Makefile里面比如有这些目标all,test等;我用ssh登录后,键入make然后双击tab键,却无法补全显示出目标;解决:1。sudo apt-get install bash-completion2。修改/etc/bash.bashrc文件,将# enable bash completion in interactive shells #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then # . /etc/bash_completion #fi前面的#去掉
阅读全文
摘要:VI帮助文档 http://vimdoc.sourceforge.net/htmldoc/usr_toc.html1) ================================set nocompatible " 不使用vi默认键盘布局set number " 显示行号set autoindent " 自动对齐set smartindent " 智能对齐set showmatch " 括号匹配模式set ruler ...
阅读全文
摘要:1 自动安装 samba #sudo apt-get install samba #sudo apt-get install smbclient #sudo apt-get install system-config-samba (如果需要图形界面的话,最好还是装,方便操作)2 增加共享文件夹在文件/etc/samba/smb.conf结尾添加如下行:[workroom]comment=this is Linux share directorypath=/home/mao/disk1/workroompublic=yeswritable=yes3 问题如果用windows访问samba,...
阅读全文
摘要:问题:我将别人的vmware 之 ubuntu拷贝到我的机器之后,网络就连接不上了,重启后它自己又生成了一个eth*;解决: 将所有的eth*删除, 删除rm /etc/udev/rules.d/70-persistent-net.rules , 重启vmware, 添加一个eth*;参考http://www.cnblogs.com/bg4cpx/archive/2009/09/24/1573148.html另外:又遇到ssh连接不上问题,参考
阅读全文
摘要:1“认识upnp服务”,“UPNP.0-Chinese_UPNP中文版”,“UPNP_UnderstandingUPNP”;2用upnp如何实现NAT穿越? 希望能详细的讲解原理 网关打开UPNP功能.终端运行支持UPNP的软件.软件需要什么端口就向网关发送UPNP映射请求.网关就自动帮他弄个映射..最简单的例子,迅雷.你试试买个TPLINK打开UPNP,再打开迅雷或者酷狗下载.你会看到很多端口会被映射了出去.如果想详细清楚.请自行安装wirshark软件抓包.3关于ipcam的UPnP或NAT的知识http://blog.chinaunix.net/uid-23883288-id-30381
阅读全文
摘要:http://www.gnu.org/software/bash/manual/Bash Reference ManualBash Reference ManualTable of ContentsBash Features1 Introduction1.1 What is Bash?1.2 What is a shell?2 Definitions3 Basic Shell Features3.1 Shell Syntax3.1.1 Shell Operation3.1.2 Quoting3.1.2.1 Escape Character3.1.2.2 Single Quotes3.1.2.3
阅读全文
摘要:http://www.chinaunix.net/jh/23/408225.html
阅读全文
摘要:#!/bin/bash var=`find .`for i in $vardo if [ -f "$i" ] then echo $i iconv -f GB2312 -t UTF-8 $i > tmp rm $i mv tmp $i fidone
阅读全文