An open API service indexing awesome lists of open source software.

https://github.com/jcaesar/pee

/P/ut some bytes into a file
https://github.com/jcaesar/pee

Last synced: 10 months ago
JSON representation

/P/ut some bytes into a file

Awesome Lists containing this project

README

          

# Pee
> *P*ut bytes into a file. A bit like tee, but without the output.

Mostly made for [webassembly.sh](https://webassembly.sh/?run-command=pee%20-h).

Can also be useful if you don't like constructs like

```bash
echo 42 | sudo tee /proc/sys/... >/dev/null
# or
sudo bash -c 'echo 42 >/proc/sys/...'
```

Example:
```bash
echo please sit down when you | sudo pee /dev/kmsg
sudo pee /dev/kmsg '<5>'Pee: from arguments, with proper tag
sudo dmesg -T | tail
```