Eric Yih's Blog

Do what you like, like what you do.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

摘要: In computing, regular expressions provide a concise and flexible means for identifying strings of text of interest, such as particular characters, words, or patterns of characters. Regular expressions (abbreviated as regex or regexp, with plural forms regexes, regexps, or regexen) are written in a formal language that can be interpreted by a regular expression processor, a program that either serves as 阅读全文

posted @ 2008-11-02 01:30 Eric Yih 阅读(253) 评论(0) 推荐(0) 编辑

摘要: Test automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions. Commonly, test automation involves automating a manual process already in place that uses a formalized testing process. 阅读全文

posted @ 2008-10-29 22:27 Eric Yih 阅读(401) 评论(0) 推荐(0) 编辑

2012年4月21日

摘要: Before you can introduce Windows Server 2008 domain controllers into existing Windows 2000 or Windows Server 2003 domains, you must prepare the forest and domains with the ADPREP utility. ADPREP.exe is a command-line tool that extends the Active Directory schema, and updates permissions as necessar. 阅读全文

posted @ 2012-04-21 11:06 Eric Yih 阅读(238) 评论(0) 推荐(0) 编辑

摘要: lsattr command in AIX 阅读全文

posted @ 2012-04-21 09:28 Eric Yih 阅读(823) 评论(0) 推荐(0) 编辑

2011年10月31日

摘要: HP-UX:To view processes in a "top-like" fashion, use:glanceTo get a listing of users or groups, similar to getent passwd!group on linux, use the following commands:pwgetgrget 阅读全文

posted @ 2011-10-31 15:14 Eric Yih 阅读(156) 评论(0) 推荐(0) 编辑

2011年6月15日

摘要: 正则表达式:正则表达式30分钟入门教程---http://deerchao.net/tutorials/regex/regex.htm正则表达式参考文档---http://www.regexlab.com/zh/regref.htm正则表达式验证工具---http://www.freetstar.com/index.php/regex-tools-and-resourcesLinux命令:Grep---http://man.chinaunix.net/newsoft/grep/open.htmSED单行脚本快速参考---http://sed.sourceforge.net/sed1line_. 阅读全文

posted @ 2011-06-15 14:05 Eric Yih 阅读(128) 评论(0) 推荐(0) 编辑

2011年1月28日

摘要: Block port on Windows 2003 and Windows 2008 阅读全文

posted @ 2011-01-28 16:51 Eric Yih 阅读(395) 评论(0) 推荐(0) 编辑

2010年10月10日

摘要: CVS是一个C/S系统,多个开发人员通过一个中心版本控制系统来记录文件版本,从而达到保证文件同步的目的。工作模式如下: 作为一般开发人员挑选2,6看就可以了,CVS的管理员则更需要懂的更多一些,最后还简单介绍了一些Windows下的cvs客户端使用,CVS远 程用户认证的选择及与BUG跟踪系统等开发环境的集成问题。 CVS环境初始化:CVS环境的搭建 管理员CVS的日常使用:日常开发中最常用的CV... 阅读全文

posted @ 2010-10-10 22:26 Eric Yih 阅读(206) 评论(0) 推荐(0) 编辑

摘要: 现象: 机器启动运行几分钟后 svchost.exe就会占系统cpu资源的100%拔掉网线就好了,重连上网后一会儿:svchost.exe又占cpu资源的99%; 解决: 假设你已经使用了免费杀毒软件排除了病毒和已经使用防间谍软件排除了恶意软件的影响:想办法清空C:\WINDOWS\SoftwareDistribution 目录下所有的文件重启机器即可。(C:\WINDOWS\SoftwareDi... 阅读全文

posted @ 2010-10-10 22:26 Eric Yih 阅读(246) 评论(0) 推荐(0) 编辑

摘要: Adding a user is something easily accomplished using the built in GUI tools that ship with OS X, however any power user can appreciate the possible efficiency gained from using the command line. So in... 阅读全文

posted @ 2010-10-10 22:24 Eric Yih 阅读(487) 评论(0) 推荐(0) 编辑

摘要: To allow users to log into your computer in Mac OS X, you must create accounts for each of them. Creating a new user in Mac OS XFrom the Apple menu, select System Preferences.... From the View menu, s... 阅读全文

posted @ 2010-10-10 22:23 Eric Yih 阅读(387) 评论(0) 推荐(0) 编辑

摘要: Sendmail Files (8.10.1) /etc/mail/sendmail.cf 這是sendmail的設定檔,8.9.3這個檔的位置在/etc下,8.10.1則是位在/etc/mail下。一般而言,不同版本/UNIX平台的sendmail會有不同的sendmail.cf(Both For Path & Content),因此在更新sendmail版本時,必須一併更新sendma... 阅读全文

posted @ 2010-10-10 22:22 Eric Yih 阅读(218) 评论(0) 推荐(0) 编辑

摘要: On Mac OS X 10.4 Server:1. Join the machine to the domain2. Launch /Applications/Server/Workgroup Managera. In Sharing tab, select 'All' and navigate to the folder which you want to shareb. In "Genera... 阅读全文

posted @ 2010-10-10 22:21 Eric Yih 阅读(333) 评论(0) 推荐(0) 编辑

摘要: 1. switch to 64bit kernel① #This command shows if the 64bit kernel is active. bash-3.00# bootinfo -k ② #Link the 64bit kernel file to default boot kernel file. bash-3.00# ln -sf /usr/lib/b... 阅读全文

posted @ 2010-10-10 22:19 Eric Yih 阅读(312) 评论(0) 推荐(0) 编辑

摘要: Debian, Ubuntu系统上使用的命令 阅读全文

posted @ 2010-10-10 22:15 Eric Yih 阅读(315) 评论(0) 推荐(0) 编辑

2010年8月13日

摘要: 1. create user record:dscl localhost create /Local/Default/Users/username2. change it's uid:dscl -raw localhost create /Local/Default/Users/username dsAttrTypeStandard:UniqueID 18883. change it's gid:... 阅读全文

posted @ 2010-08-13 15:35 Eric Yih 阅读(382) 评论(0) 推荐(0) 编辑

2010年7月23日

摘要: 这篇文章介绍了在不同平台尤其是 Windows 上安装 OpenSSH 的步骤,及配置 SSH 基于密钥的安全验证从而实现无密码连接远程系统的方法。基于 SSH 这种配置,以一小段 Shell 脚本为例,演示了在多个远程系统之间实现自动化任务的方法。 阅读全文

posted @ 2010-07-23 09:08 Eric Yih 阅读(318) 评论(0) 推荐(0) 编辑