11

The title basically says it all. tee has an option --ignore-interrupts:

-i, --ignore-interrupts   ignore interrupt signals

Can anyone explain/give an example in which situation this is important? Thanks!

2 Answers2

13

When called with -i, tee ignores the interrupt signal (SIGINT), which is normally issued by your terminal when hitting Ctrl+C.

0

If tee is used with -i, --ignore-interrupts options, It wont accept any interrupt signals like CNTRL+C ^C or Kill signals Except signal KILL or Signal Terminate.

Vasanta Koli
  • 101
  • 1