### Relevant Articles:

- [Linux Commands – Remove All Text After X](https://www.baeldung.com/linux/tr-manipulate-strings)
- [Linux Commands for Appending Multiple Lines to a File](https://www.baeldung.com/linux/appending-multiple-lines-to-file2)
