Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Blockkurs MicrobialBioinfo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
This server has been upgraded to GitLab release
17.10
.
Show more breadcrumbs
AMR
Blockkurs MicrobialBioinfo
Merge requests
!30
Update file UNIX_HPC_exercise_instructions.md
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update file UNIX_HPC_exercise_instructions.md
master-patch-b798
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Fanny Wegner
requested to merge
master-patch-b798
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
bff11dfa
1 commit,
2 years ago
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
exercises/UNIX_HPC_exercise_instructions.md
+
3
−
3
Options
@@ -343,7 +343,7 @@
3.
Writing a simple script that copies and renames files:
```
sh
#!/
bin/
bash
#!/
usr/bin/env
bash
for
x
in
ompA
*
.fasta
do
# save file ending in variable
@@ -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.
```
sh
#!/
bin/
bash
#!/
usr/bin/env
bash
# Define variables prior to your actual code and use these throughout instead of hard-coded names
name1
=
"ompA"
@@ -401,7 +401,7 @@
6.
Modifying the script further to use arrays:
```
sh
#!/
bin/
bash
#!/
usr/bin/env
bash
name1
=
"ompA"
name2
=
"outerMembraneProteinA"
Loading