Experience Directory in Software

Java,J2EE,Oracle,Linux experience and workaround tips. If you have thought at least once like "How much should I learn technologies to be good enough developer?", Yes answer is here, just read this articles.All articles are made use at real project and making clients happy!

Wednesday, February 06, 2008

Shell Scripts on Linux

This page tells you some shell programming command that are must known.

References: Linux / Unix Command: sh








CommandsMeaningsExamples
"$#"(#) - 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"




No comments:

The On Demand Global Workforce - oDesk