20 lines
337 B
Markdown
20 lines
337 B
Markdown
# Commands
|
|
|
|
## Use pv for bandwidth tests
|
|
|
|
```
|
|
pv --rate-limit 1M </dev/zero | ssh user@example.net 'cat >/dev/null'
|
|
```
|
|
|
|
## Scripted creation of partitions
|
|
|
|
Link: https://wiki.ubuntuusers.de/gdisk/#sgdisk
|
|
|
|
## diff git-style with color
|
|
|
|
```
|
|
diff --color -u file1 file2
|
|
```
|
|
|
|
(Source: [StackOverflow](https://stackoverflow.com/a/4857407))
|