Home Blog Archive Software Ubuntu: create folders, copy, delete - so it goes in the Terminal

Ubuntu: create folders, copy, delete - so it goes in the Terminal

  • Nov 14, 2025
  • 472
  • 0

With the Terminal you can manage in Ubuntu, the folder structure of your system. For example, folder, will allow you to copy, delete and re-create it. We will show you what commands you need for the actions.

Ubuntu: folder in the Terminal manage

To manage the folder with your Terminal, is not much more difficult than with a mouse-click. You only need to know the proper commands:
  1. Start the Terminal and navigate to the location where you want to create a new folder. If you are the Shell commands are still not knowledgeable about it, we show you the most important commands for the Terminal in the Overview.
  2. In the example (see Screenshot) was bound in the folder "Downloads/practice tip". Now the new folder "Test" created.
  3. This works with the command "mkdir" which stands for "make directory". The command is so: "mkdir Test".
  4. You want to copy this folder to a different directory, you can use the Tool "cp" (short for "copy"). The Syntax of the command is General: "cp -r SOURCE DESTINATION".
  5. The Parameter "-r" stands for recursive and means that all files and sub-directories within the folder are to be copied.
  6. In the example of the, just created, the folder "Test to be copied" in the top-level folder named "Downloads". The complete command for this is: "cp -r Test ~/Downloads". Alternatively, work in this particular case of an Over-directories also: "cp -r Test ../".
  7. A folder select and delete with the command "rmdir" ("remove directory"). If you, as in the example, in the identical directory as the to-be-deleted folder, the command is simple: "rmdir Test". You are not in the same directory, you must specify the full path to "Test" to enter.
Ubuntu commands in the Terminal
In the next practical tip we show you how with Ubuntu programs on the Terminal to install can.

YOU MAY ALSO LIKE

MP3 files joining

  • Wed 12, 2025
  • 404
  • 0

Ubuntu: Kodi set up so it works

  • Tue 11, 2025
  • 393
  • 0

0 COMMENTS

LEAVE A COMMENT

Human?
1 + 3 =