3 ms·
My favorite use of nc to date: cat disk.img > nc nc > /dev/sda
by sliverstorm 14y ago
My favorite use of nc to date:
cat disk.img > nc
nc > /dev/sda
- NegativeK 14y agoThis is basically #7, and I found it particularly handy when Ghost barfed on my source image. Since we had an entire lab to clone to, we combined dd, netcat, and tee to just daisy chain the data out. It worked _magically_.
- Jtsummers 14y agoThat was exactly my experience, and I nearly wrote the same thing. Frustrating day saved by 2 simple commands.
- nodata 14y agoDo you mean to use >redirect, or did you mean |pipe?