What is the syntax for using the shell command "while" ?

I tried the code below, but it says "ppp0=ppp0: command not found"

x=ppp0

while $x=ppp0
do "echo ppp is up"
done

How would I use while in the above code so as no to produce "ppp0=ppp0:
command not found" ??

Thanks

Reply via email to