I have installed Ubuntu Bash for Windows 10 on my PC, but I cannot find my root directory in which the bash works in. I know that it should be located in  C:/Users/[Username]/Appdata/Local/Lxss   but it's not there. I have verified that my files exist but the directory does not show, even with hidden files shown. Any help would be much appreciated!
17246
I have installed Ubuntu subsystem on Windows 10 (after enabling feature in settings), but where is the Ubuntu file system root directory located in the drive?
84122
How can I use the Windows Explorer to create folders or files in my home directory using "Bash on Ubuntu on Windows"?  I tried the following:   Enter C:\Users{user}\AppData\Local\lxss{username} in the Windows Explorer Create a folder named "scripts" using Windows Explorer Open Bash on Ubuntu on Windows Run ls -a   RESULT: total 0  Are there any plans to make something like this work?  P.S. Workaround-ish:   I used mkdir &amp; touch in bash to create folders &amp; files e.g. scripts/menu.py I used the Windows Explorer &amp; Notepad++ to edit menu.py I ran the script with python scripts/menu.py
99279
I'd like to find where a file (with a partially-known filename) is in the file system.  I'd like to know how to do this from the command line, rather than using a GUI utility.  In Windows, I'd run the following:  cd /d C:\ dir *filename* /s   What's the Linux equivalent?
74855
On my server I have a directory structure looking something like this:  /myproject/code   I normally have an ssh connection to the server and 'stand' in that directory:  root@machine:/myproject/code#   When I deploy a new version of my code, the code directory is removed so I'm left with:  root@machine:/myproject/code# ./run -bash: ./run: No such file or directory   And the only solution I've found is to cd out and back in:  root@machine:/myproject/code# cd ../code root@machine:/myproject/code# ./run Running...   Can I avoid this? It's a somewhat strange behavior. If you have a nice explanation why this happens I would appreciate it.
90629
I'm using Windows 10's Ubuntu Bash shell. It maps the C drive fine as /mnt/c.  I have other local physical hard drives, mounted in Windows as E: and F:  How do I tell Bash to mount these drives too (ideally automatically at /mnt/e and /mnt/f, but manual mounting is fine)? "sudo fdisk -l" doesn't seem to work (cannot open /proc/partitions), so I'm not sure how to find their names, otherwise I'd just use a regular mount command.
53485
[Reviewers: note that the question was completely rewritten after the close votes.]  I recently found how I can define aliases for bash in the ~/.bashrc.  But since I tried that, I see the followig messages eveery time I open a terminal.  I added some bash aliases to my I was trying to create shortcuts using alias but I unsuccessful and somehow managed to get the message below every time I open up a new terminal.  bash: alias: UIC: not found bash: alias: =: not found bash: alias: sudo openvpn --config ~/vpn/UIC-alopez78.ovpn: not found bash: alias: mat: not found bash: alias: =: not found bash: alias: cd /home/alexisblopez/MATLAB/R2014a/bin/: not found bash: alias: lab: not found bash: alias: =: not found bash: alias: ./matlab: not found ~$    Its's confusing; it does not say error, but because my aliases do not work, I think I did something wrong with them - I don't know what!
114961
I tried cd "~/Library/Application Support/" -bash: cd: ~/Library/Application Support/: No such file or directory  also cd ~/Library/Application Support/ -bash: cd: ~/Library/Application Support/: No such file or directory
91508
I am completely new to Linux and Ubuntu.   I have written python code in Windows and want to run it in Ubuntu. It uses a text file for input. The 'path-to-file' in windows looks as follows   c:user\documents\python\file.txt   How is the location written for Ubuntu?
112492
I saw loads of posts with similar issues; I've looked at the solutions with no luck so far.  I use Ubuntu 12.04 LTS Desktop, installed in partition sda5, mounted as /. The main part of the disk is allocated to sda6, mounted as /Home.  I cannot either:   cd into this Home directory use mkdir to create a sub folder   I can see it and create files etc, when logged in as root, using nautilus, but from a terminal I just get:   -su: cd: /Home: No such file or directory   I am new to Ubuntu (coming fom Windows) and although I thought I was getting to grips with it, this has me beat.   Any help appreciated. TIA
99205
How can I associate all .sh files to new BASH included in Windows 10 Anniversary update?  I have tried associating .sh file using default system prompt to C:\Windows\System32\bash.exe but it just flashes console window with no result.
112793
I am writing a bash script to automate several actions:  #!/bin/bash           echo "Hello, World" NAME="${1}" PATH="${2}" echo $NAME echo $PATH eval "ls"   I am going to call ls, ffmpeg and a lot of other commands.  However running my script gives me the following error:  /var/www/html# ./life.sh test midhand.mp4 + ./life.sh test midhand.mp4 Hello, World test midhand.mp4 ./life.sh: line 9: ls: command not found   How come? why not found? Maybe I should import a directory with scripts?
93739
I type echo $PATH on the command line and get  /opt/local/bin:/opt/local/sbin:/Users/andrew/bin:/usr/local/bin:/usr/local/mysql/bin:/usr/local/pear/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin  I'm wondering where this is getting set since my .bash_login file is empty.  I'm particularly concerned that, after installing MacPorts, it installed a bunch of junk in /opt. I don't think that directory even exists in a normal Mac OS X install.  Update: Thanks to  for correcting my echo $PATH statement
2946
On the Bash on Ubuntu on Windows app, I only have   root@localhost:~# ls -a     .bash_history  .bashrc  .profile   How do I access all of the Windows folders like Documents, Downloads, etc.?
81980
On a server when I login as root I see .bashrc (Ubuntu 10.10).  On my Mac I have a .bash_profile  Does Ubuntu always have only a .bashrc file and not .bash_profile? (I'm just confused, so asking, I realize they are different o/s's but maybe there is a relationship somehow?)  On my server, I want to create an alias, should I put it in .bashrc?  What if I want this alias to be applied so all users can use it?
121459
I know about the dangers of using root access so please forego the lectures. I try to be careful and will be doubly so from now on. I was using the file browser with root access in order to change some file permissions. During the process I deleted some files (I should say that I out them in the trash). Little did I know that the files would go to the trash as root and now I can't remove them because I don't have the permission to read them but I don't know how to access them to change the permissions because I don't know how to get into the trash as root. All I get is a message saying that:  This location could not be displayed. Sorry, could not display all the contents of trash:///: Operation not supported  I have searched around to try to find posts about it but I've only found outdated information about a hidden file in the root directory. That doesn't seem to apply any more so I'm stuck with a file in my trash that I can't remove and can't gain access to. I'm using Ubuntu 14.04 64bit on an ASUS x401a laptop.
82155
This is my script:  #!/bin/bash hd='pwd' cd $hd   When I try to run it, it fails with:  line 3: cd: $'pwd\r\r': No such file or directory   What is going on?
57709
I have just installed bash in windows 10 insider preview. But gedit is not working. I also use software R for my statistical work, its lot of options like 'plot' also not working. Is it the fact that no program like gedit can be opened through bash I mean wont that support any GUI ?