Jump to content

Featured Replies

Posted

Script output

Quote:

root@***'s password:

-----------Select (em) or (e) or (cm)---------

em

[: 24: em: unexpected operator

[: 27: em: unexpected operator

 

Script code:

Code:

echo "-----------Select (em) or (e) or (cm)---------"

read dom

if [ "$dom" == "em" ];then

mplayer sshfs/Hudba/*

exit

fi

if [ "$dom" == "e" ];then

exit

fi

i want to ask why it sends unexpected operator when i type "em"?

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...