Will move the myfile.pdf to the pdfs folder located in your current folder.
Mv old-file-name new-file-name, and to move mv myfile.pdf. The command to rename and/or move files and folders, to rename a file use this To copy a folder, you need to add an option to the cp command, like this cp -r foldername foldercopyname. texts/ this will copy mytextfile into theįolder texts in current directory(. The first command listed here that need two arguments, cp is for file copying.Ĭp sourcefile destinationfile and as always you can copy with paths.Ĭp /home/osmc/mytextfile. In the filesystem mkdir /home/osmc/newfoldername mkdir newfoldername creates a newįolder in the folder you’re standing in. You can directly jump to the current users home folder with cd ~ kodi or if you like to jump multipleĭirectories in one command, cd. List files and folders in a remote directory, ls /etc/apt Order to view hidden files and filepermissions us ls -al.
This command is used to list files and folders in current directory. Here are a few commands to get you started: If you have any suggestions or questions, let us know.
For newcomers, this can be quite daunting – however with some patience and guidance, you can pick up how to use the command line. While OSMC can be fully managed and configured via a graphical interface, we have preserved access to the unfettered level ofĬonfiguration that a full Linux system promises, giving you complete access and control over your device.
OSMC is based on Debian which allows us to deliver a very powerful and expansive system.