<commit_before>
Note we have GoogleAnalytics enabled for this tutorial to help show our funders that the work
we do is useful to others.

|
|
|

Getting started
---------------

On your system, start VirtualBox.

This tutorial uses a virtual machine to help avoid issues that are due to system configuration.
In case you don't have a copy of the virtual machine, you can
download it from GoogleDrive `here`__ (5.5 Gb). After the download finishes, click ``File`` in VirtualBox, then
``Import appliance``, then select the file you downloaded.

__ https://drive.google.com/open?id=0B1GaxSkd5lU8UkF6V1A1VGpPZ2c

During the import, you'll see an initialization wizard. Make sure that the virtual machine is configured with two CPUs.

Start the virtual machine and log in as user ``travis`` with password ``password``.

Once the system has booted, Click ``Activities`` and then start both a terminal and Firefox by clicking their respective
icons. Use Firefox to navigate to the tutorial text at `<https://xenon-tutorial.readthedocs.io>`_.

In the terminal, confirm that the ``xenon`` command line interface
program can be found on the system:

.. code-block:: bash

   xenon --help

|
|
|

Interacting with filesystems
----------------------------

Essentially, ``xenon`` can be used to manipulate files and to interact with schedulers, where either one can be local
or remote. Let's start simple and see if we can do something with local files. First, check its help:

.. code-block:: bash<commit_msg>implicitly including version information for xenon, xenon-cli, xenon-cloud lib<commit_after>
Note we have GoogleAnalytics enabled for this tutorial to help show our funders that the work
we do is useful to others.

|
|
|

Getting started
---------------

On your system, start VirtualBox.

This tutorial uses a virtual machine to help avoid issues that are due to system configuration.
In case you don't have a copy of the virtual machine, you can
download it from GoogleDrive `here`__ (5.5 Gb). After the download finishes, click ``File`` in VirtualBox, then
``Import appliance``, then select the file you downloaded.

__ https://drive.google.com/open?id=0B1GaxSkd5lU8UkF6V1A1VGpPZ2c

During the import, you'll see an initialization wizard. Make sure that the virtual machine is configured with two CPUs.

Start the virtual machine and log in as user ``travis`` with password ``password``.

Once the system has booted, Click ``Activities`` and then start both a terminal and Firefox by clicking their respective
icons. Use Firefox to navigate to the tutorial text at `<https://xenon-tutorial.readthedocs.io>`_.

In the terminal, confirm that the ``xenon`` command line interface
program can be found on the system:

.. code-block:: bash

   xenon --help

.. code-block:: bash

   xenon --version
   Xenon CLI v3.0.1, Xenon library v3.0.1, Xenon cloud library v3.0.1

|
|
|

Interacting with filesystems
----------------------------

Essentially, ``xenon`` can be used to manipulate files and to interact with schedulers, where either one can be local
or remote. Let's start simple and see if we can do something with local files. First, check its help:

.. code-block:: bash
{'fraction_non_alphanumeric': 0.0961235423889064, 'fraction_numerical': 0.009139615505830444, 'mean_word_length': 3.7443946188340806, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '779779', 'n_tokens_mistral': 924, 'n_tokens_neox': 873, 'n_words': 441}