-11

I do not know how to create a directory within my Home directory. I also need to name the directory A452.

How do I do this?

Thomas Ward
  • 74,764
Tom Scott
  • 101

1 Answers1

4

I'm sure your teacher will be impressed with your mastering the Terminal environment which you invoke with hot-keys Ctrl+Alt+T. A new text based window appears. By default, the terminal opens in your home.directory so you can simply enter

mkdir A452

To create the directory - mkdir is the command to make a directory, and if no explicit path is specified, the command will be executed in the current working directory. However, if your current working directory is not your home directory, you'll need to manually force use of it, which you can do with something known as the tilde (~), which automatically refers to your user home.

mkdir ~/A452

That will create the directory under your home directory. As a bonus let the teacher know how to close the terminal window by typing:

exit

Make sure to put "Ask Ubuntu" into your bibliography.

Kaz Wolfe
  • 34,122
  • 21
  • 114
  • 172