WebDevelopersNotes logo

home-icon Home / How Do I / How do I get the terminal/command window in a Mac?

How do I get the terminal/command window in a Mac?

Terminal app on the Mac

Being a “Windows guy” for doggone years, I was used to a command window. Yes, I belong to the DOS era and still use those commands! Additionally, a lot of my work involves perl – that lovely programming language. Over the years, I’ve written hundreds of perl scripts to help me with various things. So it was crucial to port them to my new Macbook Pro.

The first thing was to get a command window, called a Terminal window in Mac. This was actually quite easy.

Sponsored Links

Here is how to locate the terminal window and add it to the Dock.

  • Launchpad of the Mac
  • Search Launchpad
  • Use Spotlight search to find anything on your Mac
  • Search result will be displayed immediately
  • Terminal app added to the Dock on my Mac
  1. Open Launch Pad. You should see Terminal’s icon [Slide 1].
  2. You can also use the Spotlight search on top to locate the app quickly [Slide 2].
  3. Or simply use Spotlight and type in terminal [Slides 3 and 4].
  4. Spotlight search will almost immediately display the result – the icon of the terminal window application.
  5. Simply drag and drop it in the Dock [Slide 5].

That’s it! I now have a terminal window on my Mac sitting quietly in the Dock.

For those of you who are interested in perl, the scripting language is already installed on the Mac – unlike Windows.

Launch the terminal window and type in the command below:

perl -e 'print "Hello World\n";'

This will print “Hello World”. Cool!

Sponsored Links

Your comments
Star icon IMPORTANT Have a question / problem? Click here to ask an expert.

Why we hate Internet Explorer?

Sponsored Links

Tips

How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]

Fact

Google Chrome is wrongly credited of having introduced the Incognito/private browsing mode. This feature was available in the Safari web browser way back in 2005. [more...]

We use cookies to give you the best possible website experience. By using WebDevelopersNotes.com, you agree to our Privacy Policy