How to make a new directory using a terminal on Debian?

To make a new directory using the terminal on Linux Debian, you can follow these steps:

1 Open the terminal: You can open the terminal by pressing Ctrl+Alt+T on the keyboard or by searching for “terminal” in the application launcher.

2 Navigate to the location where you want to create the directory: You can use the cd command to change the directory. For example, if you want to create the directory in your home directory, you can type cd ~ and press Enter.

3 Create the directory: Once you are in the directory where you want to create the new directory, use the mkdir command followed by the name of the new directory. For example, to create a new directory called “mydirectory”, you can type mkdir mydirectory and press Enter.

mkdir mydirectory

4 Verify that the directory was created: You can use the ls command to list the contents of the current directory and verify that the new directory was created. For example, you can type ls and press Enter to see a list of files and directories in the current directory.

That’s it! You have now created a new directory using the terminal on Linux Debian.