Hello,
I have a problem putting the content of pwd command into a shell variable that i'll use later. Here is my shell code (the loop doesn't stop):
#!/bin/bash
pwd= `pwd`
until [ $pwd = "/" ]
do
echo $pwd
ls && cd .. && ls
$pwd= `pwd`
done
Could you spot my mistake please? Thanks a lot for your help ^^