Gaming industry under DDoS attack. Get DDoS protection now. Start onboarding
  1. Home
  2. Developers
  3. How to Create a Folder in Ubuntu

How to Create a Folder in Ubuntu

  • By Gcore
  • September 19, 2023
  • 2 min read
How to Create a Folder in Ubuntu

Managing your files and directories is an essential skill for Ubuntu users, regardless of their experience level. Our guide covers everything you need to know about organizing your files, from using the graphical user interface to executing terminal commands. With this guide, you can effectively manage your files and become more proficient in using the Linux ecosystem.

Using the File Manager

Learn how to create a folder in Ubuntu using the File Manager with step-by-step instructions.

#1 Open File Manager

The File Manager, also known as Nautilus in Ubuntu, provides a graphical interface to interact with your files and directories. You’ll see a window displaying your folders, files, and locations on the left sidebar.

#2 Navigate to the Desired Location

Before creating a folder, decide where you want it. Maybe it’s in the “Documents” directory or perhaps on the Desktop. As you click through directories, the main pane of the File Manager updates to show the contents of the current location.

#3 Right-Click for Context Menu

Right-clicking in an empty space of the directory will bring up a context menu with several options. Select “New Folder” this option allows you to create a new directory within your current location. An icon representing a new folder appears in your current location with the placeholder’s name “Untitled Folder” highlighted.

#4 Name Your Folder

While the name “Untitled Folder” is highlighted, you can type to replace it with your desired folder name. After naming the folder, pressing the “Enter” key will finalize the folder creation.

Using the Terminal

For beginners, the terminal can seem like a complicated tool, leading them to avoid using it to solve problems. However, eventually, one may need to start working with it. In such cases, creating a folder through the terminal can be a more suitable method. Below are the steps for creating a folder via the terminal.

#1 Open the Terminal

You can launch the Terminal in Ubuntu by pressing Ctrl + Alt + T. Alternatively, you can search for “Terminal” in the application menu and click on it.

#2 Navigate to the Directory

Before creating a folder, you should navigate to the location where you want the new folder. Use the command below:

cd path/to/your/directory

For instance, if you wish to navigate to the Desktop, you’d use:

cd ~/Desktop

#3 Create the Folder

To create a new folder, use the mkdir command followed by the desired folder name.

mkdir YourFolderName

Replace “YourFolderName” with whatever you’d like to name your folder.

#4 Verify the Folder’s Creation

After creating the folder, it’s good practice to ensure it was successfully made. Use the command:

ls

The output will list all items in the current directory. You should see your new folder listed among them. Here’s a sample output:

#5 Exit the Terminal

Once you’ve created your folder and verified it, you can exit the terminal by simply closing the terminal window or using this command:

exit


Well done! After completing these steps, you now have a freshly created folder in your chosen directory. While the Terminal can initially appear daunting, consistent use transforms it into a powerful asset for numerous Ubuntu tasks.

Conclusion

Want to run Ubuntu in a virtual environment? With Gcore Cloud, you can choose from Basic VM, Virtual Instances, or VPS/VDS suitable for Ubuntu:

Choose an instance

Related articles

What's the difference between multi-cloud and hybrid cloud?

Multi-cloud and hybrid cloud represent two distinct approaches to distributed computing architecture that build upon the foundation of cloud computing to help organizations improve their IT infrastructure.Multi-cloud environments involve us

What is multi-cloud? Strategy, benefits, and best practices

Multi-cloud is a cloud usage model where an organization utilizes public cloud services from two or more cloud service providers, often combining public, private, and hybrid clouds, as well as different service models, such as Infrastructur

What is cloud migration? Benefits, strategy, and best practices

Cloud migration is the process of transferring digital assets, such as data, applications, and IT resources, from on-premises data centers to cloud platforms, including public, private, hybrid, or multi-cloud environments. Organizations can

What is a private cloud? Benefits, use cases, and implementation

A private cloud is a cloud computing environment dedicated exclusively to a single organization, providing a single-tenant infrastructure that improves security, control, and customization compared to public clouds.Private cloud environment

What is a cloud GPU? Definition, types, and benefits

A cloud GPU is a remotely rented graphics processing unit hosted in a cloud provider's data center, accessible over the internet via APIs or virtual machines. These virtualized resources allow users to access powerful computing capabilities

What is cloud networking: benefits, components, and implementation strategies

Cloud networking is the use and management of network resources, including hardware and software, hosted on public or private cloud infrastructures rather than on-premises equipment. Over 90% of enterprises are expected to adopt cloud netwo

Subscribe to our newsletter

Get the latest industry trends, exclusive insights, and Gcore updates delivered straight to your inbox.