Launching a Terminal
The terminal is the program that lets users access an OS’s Command Line Interface (CLI).
You are getting the first edition of all these pages. Please let me know if you find an error!
Launching a terminal on Mac
The terminal program on Macs is simply called “Terminal”. You can open it in two ways:
- Finder –> Applications –> Utilities –> Terminal
- Press Command+Spacebar. Type “terminal” in the Spotlight Search popup and you will see an option to open the Terminal.
- CMD+Spacebar is a great way to open apps quickly on Mac.
- You may wish to drag the Terminal application to your Dock at the bottom.
Ubuntu (on Windows)
Using the Windows Subsystem for Linux
Windows has several terminal programs. Windows PowerShell and Command Prompt are for interacting with Windows CLI directly. We want to open an Ubuntu terminal for interacting with the Ubuntu OS you installed in the previous lab.
- Open the Windows menu and search for “Terminal”
- It will most likely open a window like this:This is PowerShell (for talking to Windows) and is not what we want.
- Click the dropdown to the PowerShell tab. You should see an option for Ubuntu. Select it. After a moment, you should see the Ubuntu Terminal that looks like this:
Using VirtualBox
- Open VirtualBox and start your Ubuntu virtual machine.
- Once Ubuntu opens, click the “More Apps” icon and find the Terminal.
- Alternately, press the Windows key (called the super key in Ubuntu) and start typing “Terminal” and you will see it suggested.
- The Windows key and typing a search term is a great way to find things in Ubuntu and usually faster than clicking through a menu.