Creating a file or directory is a day-to-day task that users perform to manage and organize data efficiently within the file system. In Ubuntu 24.04, which is the latest LTS release, users can create folders using either the graphical File Manager or command-line tools like mkdir, depending on their preference and workflow. In this tutorial, we’ll discuss both the GUI and CLI-based methods to create a folder in Ubuntu 24.04.
Creating a Folder in Ubuntu 24.04
In Ubuntu 24.04, we can create directories using the File Manager by right-clicking and selecting “New Folder” or using the Terminal with the mkdir command.
1. Creating a Folder Using File Manager
Ubuntu 24.04 offers a pre-installed, user-friendly GNOME-based application named Files (also known as File Manager). It allows us to efficiently access, manage, create, and delete files and folders on our system. Follow the given instructions to create a folder on Ubuntu 24.04 using the file manager:
Open the File Manager
Open “Files” from the application menu:

Access to the Desired Location
Move to the directory/path where you want to create a new folder by navigating to it. For example, if you want to create a new folder in the “Videos” directory, you must navigate to that directory:

Create a New Folder
Now, right-click on an empty space to open the context menu and select “New Folder” from it:

Note: You can also press the “SHIFT + CTRL + N” keys to create a new folder.
Provide a valid folder name and click on the Create button to create a new folder:

As soon as you hit the Create button, a new folder will be created at the targeted location:

This way, you can create as many folders as you want.
2. Creating a Folder Using Terminal
You can also use the Ubuntu terminal to create a new folder. For this purpose, you must execute the mkdir command with the folder name to be created. For a profound understanding, simply go through the below-listed steps:
Access the Target Location
Open the terminal, and run the cd command followed by the target folder’s path to access the desired location. For example, the below command accesses the Videos folder using the cd command:
cd Videos

Create a New Folder
Now you can execute the mkdir command with the folder name to create a new directory/folder at the targeted path:
mkdir videoLectures
On successful execution of the mkdir command, a new folder “videoLectures” is created in the selected location. You can verify the folder creation using the ls command:

Important Consideration: When using the mkdir command, do not specify whitespace between folder names; otherwise, the mkdir command will treat the whitespace as different names and create separate folders.
Create Multiple Folders/Directories
You can create more than one folder using the mkdir command by listing the folder names and separated them by spaces:
mkdir videoSongs shortClips
The output confirms the successful creation of the “videoSongs” and “shortClips” folders:

3. Removing a Folder Using File Manager
You can remove a folder using the File Manager by right-clicking on the folder you want to remove and selecting the “Move to Trash” option:

Here, it is important to note that this method removes the selected folder temporarily. To delete it permanently, you need to use either the “SHIFT + DELETE” keys on your keyboard or delete the selected folder from the trash folder as well.
4. Removing a Folder Using Terminal
Ubuntu supports a rmdir command to remove directories. To remove a folder using this command, open the terminal and execute the rmdir command with the following syntax:
rmdir videoSongs
On successful execution of the rmdir command, the videoSongs folder is deleted permanently:

The rmdir command can also be used to remove multiple folders:
rmdir shortVids videoLectures
The output confirms that the selected folders are successfully deleted:

That’s all about creating a folder in Ubuntu 24.04.
Conclusion
In Ubuntu 24.04, users can use either the graphical File Manager or the command-line interface to create a new folder. The File Manager offers a simple way to create and organize folders through a user-friendly interface. On the other hand, the mkdir command in the Terminal provides a more precise and flexible method for advanced users. Additionally, users can remove folders temporarily through the File Manager or permanently using commands like rmdir in the Terminal.