How to copy all the files inside the directory to another folder inside the directory with terminal?
Solution 1:
You must use either relative or absolute paths on your target folder (assuming you are currently at the origin folder).
For calling folders names relative to your current path you use ../ to go up one level.
Absolute paths are a sure shot. Type / on the target folder and press tab (autocomplete is your friend) and keep autocompleting till you create the full path for your folder.
Most likely, you will be working with files on your home. You can use ~/
to reference the root of your home folder. So do ~/
and use tab to autocomplete your path (you can do it for source and target folder, if you don't want to cd to either of those folders)