Search Results

Search: Posts Made By: Yoda
712
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

 

Featured Tech Videos

All times are GMT -4. The time now is 12:36 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy