DEV Community

Hiromi
Hiromi

Posted on

Basic Ubuntu commands

After three months using Ubuntu and many ups and downs, I realized that there are some commands that are a "must-know" if I would like to embrace this technology.

1) sudo:

  • This command is all over the place. It is the "superuser do", allows to execute commands with the admin privileges of the root user. We use to run system maintenance, installing software, or modifying restricted files.

2) nano:

  • A command used to open and edit files directly in the terminal.

3) cd:

  • Used to change directories.
  • If you type only "cd" you will be sent to the home directory. However, if you type "cd {directory path}", it will open the directory path chosen. If you want to return to the previous directory you can type "cd ..".

4) ls:

  • List content inside the current directory.

5) mkdir:

  • With this command it is possible to create directories.

Top comments (0)