Zend certified PHP/Magento developer

How to clean various log files in magento 2

I am using centos and cpanel for magento 2.4.2 installation. I noticed that there is huge files in the directory public_htmls/var/log/bak. is there anyone who could guide me how to:

  1. Clean the various log files manually using CLI commands for centos. I have seen some sudo commands for that but not working not centos.
  2. enter image description heretell me whats that folder bak for?