Piping - wAlber47/Tech-Journal GitHub Wiki
- Pipe '|' - a way to send the output of one command to another command, (ex
ipconfig | grep 'MAC')ps -aux | grep bash- will run the command, (basically task manager), but only show results containing 'bash'.
- Tee- similar to pipe, but can pass and write at the same time.
sudo dd if=/dev/sdd1 | tee Desktop/image2 | sha256sum- runs dd, saves the output, and collects a hash.