Search Results

Search: Posts Made By: Yoda
1,127
Posted By Yoda
You need to put blank spaces in between test...
You need to put blank spaces in between test expressions and also wrap string in double quotes:
if test "$DB_STATUS" = "OPEN"; then
But the simple way of doing it is:
if grep -q "OPEN"...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy