Search Results

Search: Posts Made By: duncanyy
10,884
Posted By duncanyy
hi, but after I tried, I still meet the issue. ...
hi, but after I tried, I still meet the issue.
after I add on this at my script.

#!/bin/bash

unzip test.zip
if [[ $? == 0 ]] ; then
echo "Success"
else
echo "Some failure."
fi ;
...
10,884
Posted By duncanyy
hi, I worked in bash script in android, but it...
hi, I worked in bash script in android, but it keep said this syntax error when process it.
10,884
Posted By duncanyy
Syntax error: 'fi' unexpected
unzip file.zip
if [[ $? == 0 ]] ; then
echo "Success"
else
echo "Some failure."
fi ;

I tried many time to detect the unzip error, but it keep show the syntax error wherever how I change the...
Showing results 1 to 3 of 3

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