-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from howToCodeWell/feature/lesson-6
Adding lesson 6
- Loading branch information
Showing
1 changed file
with
12 additions
and
2 deletions.
There are no files selected for viewing
14 changes: 12 additions & 2 deletions
14
linux-bash-for-beginners/notes/06-how-to-redirect-standard-output-streams.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
Notes coming soon. | ||
## Creating files | ||
The following example will send `hello world` to a new file called `test.txt` | ||
|
||
[Edit these notes](https://github.com/howToCodeWell/course-notes) | ||
```bash | ||
'hello world' > test.txt | ||
``` | ||
|
||
## Appending files | ||
The following example will add a new line with the text `hello again` to the file `test.txt` | ||
|
||
```bash | ||
'hello again' >> test.txt | ||
``` |