Skip to content
Snippets Groups Projects
Commit bff11dfa authored by Fanny Wegner's avatar Fanny Wegner
Browse files

Update file UNIX_HPC_exercise_instructions.md

parent 3b1dc631
No related branches found
No related tags found
1 merge request!30Update file UNIX_HPC_exercise_instructions.md
This commit is part of merge request !30. Comments created here will be created in the context of that merge request.
...@@ -343,7 +343,7 @@ ...@@ -343,7 +343,7 @@
3. Writing a simple script that copies and renames files: 3. Writing a simple script that copies and renames files:
```sh ```sh
#!/bin/bash #!/usr/bin/env bash
for x in ompA*.fasta for x in ompA*.fasta
do do
# save file ending in variable # save file ending in variable
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
4. To make it more reusable, you can use additional variables whose values can be easily changed and adapted to new use cases. 4. To make it more reusable, you can use additional variables whose values can be easily changed and adapted to new use cases.
```sh ```sh
#!/bin/bash #!/usr/bin/env bash
# Define variables prior to your actual code and use these throughout instead of hard-coded names # Define variables prior to your actual code and use these throughout instead of hard-coded names
name1="ompA" name1="ompA"
...@@ -401,7 +401,7 @@ ...@@ -401,7 +401,7 @@
6. Modifying the script further to use arrays: 6. Modifying the script further to use arrays:
```sh ```sh
#!/bin/bash #!/usr/bin/env bash
name1="ompA" name1="ompA"
name2="outerMembraneProteinA" name2="outerMembraneProteinA"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment