I am using WSL/Ubuntu on Windows 10. I want to go to /mnt/c. Typing cd /mnt/c is working. But when I enter the command into a shell script, it is not.
I added the line:
cd /mnt/cto a shell scriptI used
chmod +x. When executing the script, the position in the shell did not changeI added the command
lsls /mnt/c was executed
How can I move to /mnt/c using a script?
thansk Harald