Background running apps could be the cause for the high CPU usage and system unresponsiveness. Learn how to control hidden background apps in Linux.
The printf command offers well-defined behavior following the POSIX standard, which means it works the same way across shells ...