PLEASE NOTE: You should be careful with running commands to prevent data loss or damage your site. Make sure to only run commands when you know exactly what they will do.
To use shell commands, you need to use SSH. You can learn how to connect to your site(s) via SSH here.
Extensive resources are available on using the Linux command line. Some popular examples include the following third-party sources: