How to create a new folder in ubuntu
To create a new folder in Ubuntu, you can use the following methods:
Method 1: Using the File Manager
- Open the File Manager (Nautilus) by clicking on the Files icon in the Launcher or by searching for "Files" in the Dash.
- Navigate to the directory where you want to create the new folder.
- Right-click on the directory and select "Create new folder" or press Ctrl + Shift + N.
- Enter a name for the folder and press Enter.
Method 2: Using the Terminal
- Open the Terminal by searching for "Terminal" in the Dash or by using the keyboard shortcut Ctrl + Alt + T.
- Navigate to the directory where you want to create the new folder using the
cd
command. For example:cd Documents
- Use the
mkdir
command to create a new folder. For example:mkdir mynewfolder
- Press Enter to create the folder.
Method 3: Using the Command Line
- Open the Terminal by searching for "Terminal" in the Dash or by using the keyboard shortcut Ctrl + Alt + T.
- Use the
mkdir
command to create a new folder. For example:mkdir /path/to/new/folder
- Replace
/path/to/new/folder
with the desired path and name for the folder. - Press Enter to create the folder.
Note: In all methods, you can also use the sudo
command to create a folder with root privileges. For example: sudo mkdir mynewfolder