Linux Today: Linux News On Internet Time.

More on LinuxToday

Testing the Exit Status of a Command

Nov 09, 2011, 01:06 (0 Talkback[s])
(Other stories by Mike)


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

[ Thanks to Andrew Weber for this link. ]

"The test command is used to determine exit status on numerous tests that can be performed in scripts. The test command does not produce any output it simply is checking for the exit status. Note if you use variables with test be sure to enclose them in double quotes so the test receives an argument."

Complete Story

Related Stories: