that should go in your sources list not a command seems like you need to learn linux a bit more before messing around with stuff you cant comprehend.
Your question is explained in the OSMC Wiki. Have a look at Wiki - OSMC. This should be your first port of call for OSMC help. If you feel something is missing, feel free to edit it or tell us how we can improve it.
for basic commandos in shell environment see: