Faking input with IOCTL/TIOCSTI

Have you ever had a script or program running in the background, with no TTY/console, asking for input to continue running? How do you tell it ‘y’ so it will keep going? By faking input using TIOCSTI! I had this issue when running a long chain of tasks in an ansible playbook, and a command […]

Faking input with IOCTL/TIOCSTI Read More »