Details regarding how to access the command line interface can be found here on our Wiki: Accessing the command line - General - OSMC
Here is a cheatsheet for how to navigate in a Linux shell: Cheatsheets and Tutorials for users new to Linux based operating systems