I downloaded Linux Bash Shell on Windows 10, but I met with two problems. To start with, I tried moving all my previous codes to the home directory, but I couldn't see any of those files in the bash terminal. It only works when I copy and paste those files in the bash shell. How am I supposed to do this? I don't want to save my scripts somewhere else and manually copy them into my home directory every time.
Anyway, I decided that I will keep those scripts where they were, and create a shortcut to their location from my home directory. Let's say the directory where I put all my files is called XXX, and there are three folders in that directory, YYY, ZZZ ,and AAA. I opened the bash terminal and created a shortcut using
ln -s /mnt/c/Users/.../XXX. As expected, XXX appeared in my home directory. I opened the shortcut with cd XXX, and it did take me to XXX, but when I tried to access YYY from there, I couldn't.
When I type
cd YYY, I'm taken to the
~/XXX/YYY/, but when I used ls to check my files in YYY, I found that the content of YYY was exactly the same is XXX, meaning I see YYY and ZZZ in the YYY directory. I tried again, with cd YYY, which took me to
~/XXX/YYY/YYY/, and so on. I could never get into the YYY folder. The same situation comes up for ZZZ too Thanks to anyone who can solve either one of my two problems