Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions _episodes/14-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,9 @@ here are the components of `PATH` listed one per line:
~~~
{: .output}

On our computer,
there are actually three programs called `analyze`
Consider a computer with three different programs, all called `analyze`,
in three different directories:
`/bin/analyze`,
`/usr/local/bin/analyze`,
and `/users/vlad/analyze`.
`/bin/analyze`, `/usr/local/bin/analyze`, and `/users/vlad/analyze`.
Since the shell searches the directories in the order they're listed in `PATH`,
it finds `/bin/analyze` first and runs that.
Notice that it will *never* find the program `/users/vlad/analyze`
Expand Down
7 changes: 4 additions & 3 deletions _episodes/15-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ Let's examine the output of `module avail` more closely.
> > ```
> > {{ site.remote.bash_shebang }}
> > {{ site.sched.comment }} {{ site.sched.flag.partition }}{% if site.sched.flag.qos %}
> > {{ site.sched.comment }} {{ site.sched.flag.qos }}
> > {% endif %}{{ site.sched.comment }} {{ site.sched.flag.time }} 00:00:30
> > {{ site.sched.comment }} {{ site.sched.flag.qos }}{% endif %}
> > {{ site.sched.comment }} {{ site.sched.flag.time }} 00:00:30
> >
> > module load {{ site.remote.module_python3 }}
> >
Expand All @@ -206,7 +206,8 @@ Let's examine the output of `module avail` more closely.
> > {: .output}
> >
> > ```
> > {{ site.remote.prompt }} {{ site.sched.submit.name }} {% if site.sched.submit.options != '' %}{{ site.sched.submit.options }} {% endif %}python-module.sh
> > {{ site.remote.prompt }} {{ site.sched.submit.name }} {% if site.sched.submit.options != '' %}
{{ site.sched.submit.options }}{% endif %} python-module.sh
> > ```
> > {: .language-bash}
> {: .solution}
Expand Down
36 changes: 0 additions & 36 deletions _episodes/16-transferring-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ objectives:
keypoints:
- "`wget` and `curl -O` download a file from the internet."
- "`scp` and `rsync` transfer files to and from your computer."
- "You can use an SFTP client like FileZilla to transfer files through a GUI."
---

Performing work on a remote computer is not very useful if we cannot get files
Expand Down Expand Up @@ -423,41 +422,6 @@ you will have to specify it using the appropriate flag, often `-p`, `-P`, or
> {: .solution}
{: .challenge}

## Transferring Files Interactively with FileZilla

FileZilla is a cross-platform client for downloading and uploading files to and
from a remote computer. It is absolutely fool-proof and always works quite
well. It uses the `sftp` protocol. You can read more about using the `sftp`
protocol in the command line in the
[lesson discussion]({{ site.baseurl }}{% link _extras/discuss.md %}).

Download and install the FileZilla client from <https://filezilla-project.org>.
After installing and opening the program, you should end up with a window with
a file browser of your local system on the left hand side of the screen. When
you connect to the cluster, your cluster files will appear on the right hand
side.

To connect to the cluster, we'll just need to enter our credentials at the top
of the screen:

* Host: `sftp://{{ site.remote.login }}`
* User: Your cluster username
* Password: Your cluster password
* Port: (leave blank to use the default port)

Hit "Quickconnect" to connect. You should see your remote files appear on the
right hand side of the screen. You can drag-and-drop files between the left
(local) and right (remote) sides of the screen to transfer files.

{% include {{ site.snippets }}/transferring-files/filezilla-ssh-tunnel-instructions.snip %}

Finally, if you need to move large files (typically larger than a gigabyte)
from one remote computer to another remote computer, SSH in to the computer
hosting the files and use `scp` or `rsync` to transfer over to the other. This
will be more efficient than using FileZilla (or related applications) that
would copy from the source to your local machine, then to the destination
machine.

{% include links.md %}

[git-swc]: https://swcarpentry.github.io/git-novice/
Expand Down
Loading