The first step to automating a task is to run it and note what you do. The script command discussed earlier may be of use.
Linux Shell Scripting Cookbook - Third Edition
by Shantanu Tushar
Published by
Packt Publishing, 2017
The first step to automating a task is to run it and note what you do. The script command discussed earlier may be of use.