Menu

How to Use Terminal on Mac

The Terminal is a powerful tool on your Mac that allows you to interact with your system using text commands. Here’s a quick guide to get you started.

Opening Terminal

To open Terminal, navigate to Applications > Utilities > Terminal. You can also use Spotlight by pressing Command + Space and typing Terminal.

Basic Commands

Once you have Terminal open, you can start using commands. Here are some basic commands:

  • ls - Lists files in the current directory.
  • cd - Changes the directory. For example, cd Documents takes you to the Documents folder.
  • mkdir - Creates a new directory. For example, mkdir new_folder.
  • rm - Deletes files. Be careful with this command!

Using Sudo

Some commands require administrative privileges. You can use sudo before a command to gain these privileges. For example, sudo apt-get update.

Getting Help

If you need help with a command, you can type man followed by the command name. For example, man ls will show you the manual for the ls command.

No related topics found.





About Project

We aim to make information accessible, organized, and practical, so you can easily find solutions to everyday tasks, unusual situations, or simply satisfy your curiosity.
Our project covers a wide range of topics – from practical advice and everyday questions to complex technical and scientific subjects. Here, you’ll find well-prepared answers based on reliable sources and expert opinions.