This page tells you some shell programming command that are must known.
References: Linux / Unix Command: sh
| Commands | Meanings | Examples |
| "$#" | (#) - Expands to the number of positional parameters in decimal. | "$#" -eq 3 |
| -f | (-f file) True if file exists and is a regular file. | -f "$1" |
| -Z | (-z string) True if the length of string is zero. | -Z "$1" |
| -d | (-d file) True if file exists and is a directory. | -d "${RSYNC_PATH3}/dberr" |
| -x | (-x file) True if file exists and is executable. | -X "${RSYNC_PATH3}/xxxxx.sh" |
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

No comments:
Post a Comment