Difference between revisions of "Learning to Use Computer's Terminal"
From Sustainability Methods
Line 23: | Line 23: | ||
==== Windows === | ==== Windows === | ||
Windows offers several command-line interfaces: | Windows offers several command-line interfaces: | ||
− | * Command Prompt: The traditional Windows command-line interface. | + | * Command Prompt("cmdexe"): : The traditional Windows command-line interface. |
* PowerShell: An advanced shell with scripting capabilities. | * PowerShell: An advanced shell with scripting capabilities. | ||
* Windows Terminal: A modern application that can host multiple shells, including Command Prompt and PowerShell. | * Windows Terminal: A modern application that can host multiple shells, including Command Prompt and PowerShell. |
Revision as of 22:02, 14 September 2024
The terminal, also known as the command line or console, is a powerful tool that allows you to interact with your computer using text commands. It provides greater control and efficiency for various tasks such as file management, running programs, and automating workflows.
This entry covers how to access and use the terminal on both macOS and Windows, focusing on basic commands that are common between the two operating systems.
Why Use the Terminal?
- Efficiency: Perform tasks faster than using graphical interfaces.
- Automation: Automate repetitive tasks with scripts.
- Development: Essential for programming and development workflows, for examle, for installing and managing packages.
Accessing the Terminal
macOS
On macOS, the terminal is called Terminal.app and provides a Unix-like command-line environment.
To open the terminal:
- Use Spotlight Search.
- Press Command (⌘) + Space to open Spotlight.
- Type Terminal and press Enter.
= Windows
Windows offers several command-line interfaces:
- Command Prompt("cmdexe"): : The traditional Windows command-line interface.
- PowerShell: An advanced shell with scripting capabilities.
- Windows Terminal: A modern application that can host multiple shells, including Command Prompt and PowerShell.