Terminal helps
Access OneDrive
- Windows:
cd /mnt/c/Users/yourUserName/OneDrive
Access J: drive
- Assuming you have already mounted it, as described here
- Mac:
cd /Volumes/yourCaedmID
- Windows:
sudo mkdir -p /mnt/j
sudo mount -t drives J: /mnt/j
- Note, when I connected to the J: drive on Windows, the cadem instructions were not that clear. In the Windows Explorer, I had to right click on “This PC”, then “Map Network Drive” then select J:, then \fs-caedm.et.byu.edu/caedmID, so far it’s the same; then click connect using different credentials, then Finish, then when it asks to enter my network credentials, I choose “more choices” then “use a different account” then username is your cadem ID, then password is your caedm password, then OK and you’re done. You should only have to do all this once.
Ubuntu home from Windows Explorer
- type
\\wsl.localhost\Ubuntu\home\YourUbuntuUserID in the address bar at the top of the Windows Explorer
YourUbuntuUserID is whatever you set when you setup Ubuntu
Tips
cd - will go back to the previous directory that you were in
- Even though it is not recommended, you can use spaces in file names. Use a
\ to escape the space so it’s treated as part of the filename and not as a space.
cd My\ Documents for example
- or just hit the
<tab> key to expand the name, like cd My<tab> will expand to cd My\ Documents
- You can use aliases to simplify commands you use a lot.
- For example, put
alias OD='cd /mnt/c/Users/yourUserID/OneDrive" in your ~/.zshrc file or ~/.bashrc file, depending on the shell you are using. Then, restart the terminal. You can now type OD and it will execute cd /mnt/c/Users/yourUserID/OneDrive.