Use Windows Explorer & Bash on Ubuntu on Windows


I started by asking myself, “How can I use the Windows Explorer to create folders or files in my home directory using ‘Bash on Ubuntu on Windows’?”AskUbuntu

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
$ ls -a
total 0


I wondered if there any plans to make something like this work?

Work Around

I found “sort of” a Work Around

1. I used bash commands $ mkdir and $ touch to create folders and files 
i.e. scripts/
2. I used the Windows Explorer and Notepad++ to edit
3. $ python scripts/ 


Headless Selenium on Ubuntu 14.04 with PhantomJS 2.0

Headless Selenium on Ubuntu 14.04 with PhantomJS 2.0

N.B. This is STILL incomplete.

More work later 🙂

We’re following the excellent Headless Selenium Testing With Python and PhantomJS

Install Selenium

Let’s use pip to install Selenium

$ pip install selenium

Install PhantomJS

To make PhantomJS installation easy we will use the GitHub Repository, PhantomJS 2.0 built on Ubuntu 14.04 x64.

  1. Let’s login as root, cd to the root home.
    $ # However you login as root - I use WinSCP & Putty.
    $ cd ~
  2. According to the notes on the GitHub, to avoid the noticed dependency error, first let’s install “libicu52”.
    $ sudo apt-get install libicu52
  3. Now let’s just follow the original instructions on the GitHub Repository.
    $ # Since the file the GitHub Repository is 
    $ #    **actually** the phantomjs **executable**, 
    $ # And we want system wide access,
    $ cd /usr/bin
    # Now do our GitHub Repository wget into /usr/bin
    $ $ wget
    # Now change the permissions
    $ chmod 0755 phantomjs
    $ # -rwxr-xr-x 1 root root 56596085 Aug 26 09:22 phantomjs

    That does it.

Love and peace,

#automation, #test-suite