Unix is a widely used operating system.
When multiple commands become necessary, a script file is much more practical. The format of the script file is one command per line:
We use shell redirects to save the output to a file.
Another common option is -n. This option limits the output solely to lines intended to produce output, which are indicated by a /p at the end of the command.
This command will print only the changes that are made.