Skip to content

Commit c0fc84f

Browse files
pojedajhein32
authored andcommitted
scripting text corrected
1 parent e85e085 commit c0fc84f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/scripting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Scripting
22

3-
This section will look at scripting. Scripting is used to perform complex or repetitive tasks without user intervention. All Linux commands which can be used on the commandlien can also be used inside a script, including wild cards.
3+
This section will look at scripting. Scripting is used to perform complex or repetitive tasks without user intervention. All Linux commands which can be used on the commandline can also be used inside a script, including wild cards.
44

55
The most common reason for making a script is probably to avoid writing the same command again and again. On an HPC-sytem, such as the ones offered by NAISS, scripts are required to execute Linux commands and programs inside the batch system.
66

@@ -35,7 +35,7 @@ We start scripting with a simple example. The task at hand is to check how many
3535
```bash
3636
#!/bin/bash
3737
grep 'ABCD' file.dat > file_filtered.dat
38-
wc -l < file_filtered.dat
38+
wc -l < file_filtered.dat > output.dat
3939
```
4040

4141
With the following command, which will be explained in-depth further down, we can make the script executable

0 commit comments

Comments
 (0)