Training materials for Locus and UNIX introductory course
Sept 20, 2023
- Instructors: Poorani Subramanian (BCBB) and Adam Erck (NIAID High Performance Computing)
- Help Emails: [email protected] or for Locus NIAID HPC SUPPORT [email protected]
- Class Slides
handson_unix_I_1.sh
Description: Collection of basic UNIX commands to navigate and move files.
job_script.sh
Description: batch job script for submission with UGE on Locus
We will be connecting to Locus via a terminal/shell program. Here are the instructions for finding/installing the appropriate program depending on your OS:
- MacOS: We will use Terminal.app which should already be installed; see How to Open Terminal on Mac for where to find it.
- Windows: We will use PuTTY. To install:
- Go to https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- Scroll down to "Alternative binary files."
- Look for
putty.exe
(the SSH and Telnet client itself). - Click on the blue "putty.exe" link next to 64-bit x86 or 32-bit x86 depending on your computer. If you do not know which version your computer can use, select the 32-bit version. This will download the "putty.exe" executable program.
- Look for
pscp.exe
(an SCP client, i.e. command-line secure file copy). - Click on the blue "pscp.exe" link next to 64-bit x86 or 32-bit x86 depending on your computer. If you do not know which version your computer can use, select the 32-bit version. This will download the "pscp.exe" executable program.
- To start PuTTY, navigate to where you downloaded putty.exe, and double click on it. This will open the PuTTY window.
- Note: If you install PuTTY this way using the alternative binary file, you should not need administrative privileges. Please feel free to email us (see contact info above) if you have any problems installing.
-
Locus NIAID HPC notes
Description: Tips and best practices on using Locus -
Unix Cheat Sheet
Description: List of the most often-used UNIX commands -
handson_unix_I_2.sh
Description: Collection of basic UNIX commands for searching plain-test data sets. -
how_to_write_bash_script.sh
Description: Description of how to write simple script. -
organize.sh
Description: Example of if-then-else-fi script. -
for_loop.sh
Description: Example of for loop script. -
for_loop_c.sh
Description: Example of for loop script in cshell. -
until_loop.sh
Description: Example of until loop script. -
while_loop.sh
Description: Example of while loop script.