+30 Bash On Ubuntu On Windows Change Home Directory 2022. The side effect of this is that it defaults to c:\windows\system32 (the location of bash.exe) if you launch it directly. Change user’s home directory if you only need to change user ubunut’s home directory from /home/ubuntu to /home/data then open terminal and run the following.

Using the ls command to display the contents of a. Type it in, press enter on your keyboard, and you should get a list of every folder and file found inside the current directory. Changing to the home directory.