How To Make New Directories or Folders In Ubuntu Linux Using Command Line (Terminal)

preview_player
Показать описание
How To Make New Directories or Folders In Ubuntu Linux Using Command Line (Terminal)

In this video I will show you how to create new directories/folders in Ubuntu Linux using the command line or terminal.

Command To Make New Directories: mkdir newdirectorynamehere

Steps To Make New Directories or Folders In Ubuntu Linux Using Terminal:

1. Log in to your Ubuntu Linux computer or remote server
2. List all the files and folders in your current directory to make ensure you don't duplicate the name of an already existing directory by typing the following command:

ls

3. Create a new directory by typing the following command:

mkdir newdirectorynamehere

4. List all files and folders again to see your newly created directory in the command line by typing the following command:

ls

5. (Optional) If you would like to open or change your directory that you're currently in, into your newly created directory type the following command:

cd nameofnewdirectoryhere

6. (Optional) Your newly created directory will be empty. To check, type the following command:

ls

7. (Optional) To create another directory within your newly created directory, type the following command:

mkdir newdirectorynamehere

8. (Optional) List all files and folders one final time to see your newly created directory within the first directory that you made in the command lin. Type the following command:

ls

Congratulations, you have successfully made a new directory in your Ubuntu Linux machine using the command line.

Timestamps:
0:00 Intro & Context
0:18 Make Directory (mkdir)
2:24 Closing & Outro

Need A Cheap Server To Practice Linux Commands On?

What is Vultr?
Vultr is a Cloud Hosting company. Vultr allows customers to deploy a cloud server in 15 Cities around the globe in less than 60 Seconds.

Social Media

#mkdir #MakeDirectory #UbuntuLinux

DONT FORGET TO LIKE COMMENT AND SUBSCRIBE!
Рекомендации по теме
Комментарии
Автор

Thanks was looking how make folders A-Z . well thats a start on how make a folder 👍

SonofChurchill
Автор

Thank you for the video. I'm doing a Linux project and this helped me a lot

NigerianBaller
Автор

Hi I just got Atari vcs with pc mode usb that boots into Debian 11 with GUI. I’m trying to play retroarch and I managed to get it installed but I’m very familiar with windows PC and not Debian or Linux.

I need to move downloaded files from my download folder into the retroarch system file but I can’t seem to create new folders or move files between them . Is there any way to do this from the GUI like I can in windows?? Thank you!!

realyeti
Автор

How to copy Everything in your home directory to the new directory

SonGotTalent