You can run commands via SSH (command line) by going to your Control Panel -> SSH Access. Please enable "Manage SSH Access" there.
Below you will see the details of SSH which will allow you to connect to the server!
Here you can find a list of basic SSH commands - https://www.hostinger.com/tutorials/ssh/basic-ssh-commands