1. macOS
1.1. pbcopy
1 |
$ ls -l | pbcopy |
1.2. pbpaste
1 2 3 |
$ cat readme.txt | pbcopy $ pbpaste | iconv -t UTF8 |
2. Windows
2.1. clip
1 |
> dir | clip |
1 |
$ ls -l | pbcopy |
1 2 3 |
$ cat readme.txt | pbcopy $ pbpaste | iconv -t UTF8 |
1 |
> dir | clip |