OPERATING SYSTEMSOS Linux

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

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?
$100 Vultr Promotional Credit when you use this Referral Link https://www.vultr.com/?ref=8668725-6G

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.

Grow your YouTube Channel with vidIQ https://vidiq.com?afmc=70s

Ubuntu Linux Tutorials (Playlist) https://www.youtube.com/playlist?list=PLco3v23oibTXMcX9Eh80_8OcnVs1SqsR2

Social Media
SUBSCRIBE to my YouTube Channel https://bit.ly/2EKOR4a
Instagram (Thumbnail Collection) https://www.instagram.com/websplaining
Twitter (For Newest uploads) https://twitter.com/websplaining
Reddit (Discussions) https://www.reddit.com/r/Websplaining
Personal Website https://www.websplaining.com

#mkdir #MakeDirectory #UbuntuLinux

DONT FORGET TO LIKE COMMENT AND SUBSCRIBE!

source

ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *