tee

duplicating pipe content

copy
4
0
ls | tee file1.txt file2.txt file3.txtwrite ls to screen and 3 files

4 years, 4 months ago john 0 | details |

copy
3
0
ls | tee file.txtls to screen and also file

4 years, 4 months ago john 0 | details |

copy
1
0
ifconfig | tee OutputFile.txtlist and store ifconfig in OutputFile.txt

4 years, 4 months ago john 0 | details |

copy
1
0
lint myprogram.c | tee -a myprogram.lintdisplay and append to myprogram.lint

4 years, 4 months ago john 0 | details |

copy
1
0
crontab -l | tee backup.txt list your crontab, and create a backup

4 years, 4 months ago john 0 | details |