Skip to content

Commit 10f216f

Browse files
committed
adding two more commands to the second command line tutorial and adding roudh outline to advanced command line tuts
1 parent 09ae157 commit 10f216f

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

command-line/advanced-command-line/tutorial.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ title: Advanced command line
55

66
flags
77
wildcards
8+
piping and redirection
9+
sort?
10+
uniq?
11+
grep
12+
sed aka stream editor

command-line/command-line/tutorial.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,22 @@ rm -r command?
4848

4949
### `rmdir` or removing directoris (only works on empty directories)
5050

51-
to delete folders with files in them use rm -r command
51+
to delete folders with files in them use rm -r command
52+
53+
### `cat` or printing? streaming? files
54+
55+
```bash
56+
$ cat file.txt
57+
```
58+
59+
```bash
60+
$ cat file.txt > other_file.txt
61+
```
62+
63+
redirecting and rewriting
64+
65+
```bash
66+
$ cat file.txt >> other_file.txt
67+
```
68+
69+
redirecting and appending

0 commit comments

Comments
 (0)