#!/bin/sh #VarTest.sh #To test the variables USER=haison echo "Hello,$USER,the output of this scr ipt are as follows:" echo "The scr ipt name is :`basename $0`" echo "The first param of the scr ipt is :$1" echo "The second param of the scr ipt is :$
Linux Shell 编程(英文版)。 Index m How to write shell scr ipt m How to Run Shell scr ipts m Quotes in Shell scr ipts l Linux Shell scr ipting Tutorial http://www.freeos.com/guides/lsst/index.htm (1 of 2) [17/08/2001 17.41.52] m Shell Arithmetic m Command
Contents: Chapter 1: Powerful CD Command Hacks * Hack 1. Use CDPATH to define the base directory for cd command * Hack 2. Use cd alias to navigate up the directory effectively * Hack 3. Perform mkdir and cd using a single command * Hack 4. Use “ cd
The Missing Code Library Chapter 2 - Improving on User Commands Chapter 3 - Creating Utilities Chapter 4 - Tweaking Unix Chapter 5 - System Administration: Managing Users Chapter 6 - System Administration: System Maintenance Chapter 7 - Web an
《Linux Shell scr ipting with Bash》,一本 Linux 用户和管理员的全面的指南和参考书,作者 Ken O.Burtch。内容预览: 1 The Linux Environment 2 Operating the Shell 3 Files,Users,and Shell Customization 4 scr ipt Basics 5 Variables 6 Expressions 7 Compound Commands 8 Debugging and Ver
第二篇 L i n u x高级语言及管理编程 第5章 外壳编程 在DOS 中,你可能会从事一些例行的重复性命令,此时你会将这些重复性的命令写成批 处理命令,只要执行这个批处理命令就等于执行这些命令。在 L i n u x系统中也有类似的批处理 命令,它的功能比起D O S的批处理命令更为强大,相对也较为复杂,已经和一般的高级语言不 相上下。这些批处理命令在L i n u x中叫做外壳脚本(外壳scr ipt ) 。 外壳脚本是以文本方式储存的,而非二进制文件。所以外壳脚本必须在 L i n u