- 博客(8)
- 收藏
- 关注
原创 How to configure rsh on redhat Linux
Please follow up steps below to configure your rsh on the Red Hat Linux:Install rpm package rsh-serverchkconfig --list | grep rsh. if its off, turn it on by "chkconfig rsh on"chkc
2010-02-02 18:25:00 747
原创 如何在ksh中获取子字符串
最近在写ksh脚本的过程中发现ksh没有提供获取子字符串的内嵌函数,使用起来很是郁闷。在网上搜了搜,再结合自己的一点想法,提供下面的代码供大家参考,欢迎批评指正。 #/bin/kshsubstr(){ str="${1:?missing string from which you want to get the sub string}" typeset
2009-12-03 15:53:00 6215
原创 如何利用UltraEdit语法着色来编辑shell脚本
Ultraedit作为文本编辑器有许多其他编辑器所没有的功能,本文介绍一下如何利用UltraEdit语法着色来优化shell脚本的编辑。 默认地,在UltraEdit中,对shell脚本的语法着色是没有打开的,请按照下面的步骤进行设置来支持这一功能。点击菜单"Advanced->Configuration...",弹出"UltraEdit Con
2009-11-27 17:05:00 8437 3
原创 浅谈bash与ksh数组使用之异同
在shell脚本编程中,数组是我们保存和处理信息的一种有效工具。本文简单介绍一下在bash和ksh中数组使用的异同。数组的定义其实bash和ksh在数组使用上的主要区别就在于数组定义方式的不同。bashbash中数组定义采用形式: arr=(element1 element2 element3......)。下面的例子将当前目录下文件名存入数组files中。
2009-11-26 16:49:00 6289
原创 Bash shell 字符串操作符详解
本文详细介绍一下Bash shell字符串操作的有关内容。 首先需要明白的一点是我们通常所用的变量替代 $varname 其实是 ${varname}的一种简写形式。其次,需要知道字符串操作的核心思想是:Bash shell字符串操作是通过在变量名varname和闭花括号}之间插入操作符来完成的。 在明确了以上2点以后,我们就可以开始学习Bash shell
2009-11-20 09:30:00 1807
转载 如何改变Linux主机名
How to change the hostname of a Linux systemNormally we will set the hostname of a system during the installation process. Many peoples don’t care about this, and don’t change the hostname ev
2009-11-19 14:19:00 835
原创 What is Thin Provision and Thin Reclamation in Storage Industry
This document discusses the concepts of "Thin Provision" and "Thin Reclamation" in Storage industry.Thin Provision Thin Provision is an array vendor solution for all
2009-11-18 17:31:00 1402
转载 What is DRL (Dirty Region Log)
Dirty Region Logging is mentioned often in the VxVM manuals but poorly explained. For most people Ive talked to they had a difficult time trying to get a grasp of what it is. The way I like to introd
2009-11-17 14:17:00 744
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人