2 releases
0.1.2 | Aug 12, 2021 |
---|---|
0.1.1 | Aug 10, 2021 |
#17 in #tee
8KB
162 lines
Pee
Put bytes into a file. A bit like tee, but without the output.
Mostly made for webassembly.sh.
Can also be useful if you don't like constructs like
echo 42 | sudo tee /proc/sys/... >/dev/null
# or
sudo bash -c 'echo 42 >/proc/sys/...'
Example:
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