can you use an *) for a default in a if statememnt ,if so how please include e.g.
i am new bie so i might be wrong, why dont u use liek as
if [ddd]; then
case "avc" in
ss) : ;;
*) :;;
esac
elsif
AlphaChrist,
Guari is almost right..
*) is used as a default switch in case-esac conditional structure.
for e.g.
case $day in
1) echo "sunday";;
2) echo "monday";;
.....
*) echo "not a weekday";;
and gauri,
an "if" has a corresponding "elif" (else if, as need may be) and ends with "fi".
Goodluck!