Getting Started with Bash on Windows 10 Anniversary Update

Play Getting Started with Bash on Windows 10 Anniversary Update

The Discussion

  • User profile image
    CarlD

    Can the unix filesystem be placed somewhere other than AppData?

  • User profile image
    jldeen

    @CarlD:No, the Linux Subsystem for Windows installs and runs from your local app data folder.

  • User profile image
    CarlD

    Pitty - makes is unusable for me and many others. e.g. with a laptop with a small C: (SSD) and a large D: (HDD). I don't want to move AppData in general, I just want to place LARGE things elsewhere.

  • User profile image
    jldeen

    @CarlD: You can place large things in your /mnt/D if that works? I.E You can run lxss from %localappdata% but then create a symlink to your /mnt/D path for your LARGE things. Note: I haven't tested this, but the theory should work. 

  • User profile image
    CarlD

    Yes, I could place large things that I create in my /mnt/d, but that doesn't get the /lxss folder off my C: drive, which is what I was looking for. I see from the GitHub comments on LSW that this is not an uncommon issue.

  • User profile image
    mariole

    what's about the file permissions and ownership?
    what's about line ending?
    ssh X forwarding?

    Cheers

  • User profile image
    Jeremy Black

    There is an easier way to copy your key to a remote system to enabled password-less SSH that doesn't require manually creating key files and setting permissions like you show here. Here's what I do.

    ssh-keygen
    ssh-copy-id user@host -p 2021

    You will get prompted for your password the first time, but after that no more prompts. This site shows what the output looks like.

    https://linuxconfig.org/passwordless-ssh

  • User profile image
    Jeremy Black

    FYI, when changing back to your home folder, you don't need to specify any sort of path. Just type cd and nothing else and it will take you back home. cd ~ is not necessary.

Add Your 2 Cents