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.

Don't believe everything you read on the Internet

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

Tetris was the very first entertainment software to be imported by the United States from the USSR. In 1987, three years after it's launch in the Soviet Union, the game was released in the United States by Spectrum Holobyte for the IBM PC and Commodore 64, the largest selling computer of all time. Tetris was developed by Alexey Pajitnov, a Russian computer programmer, when he was working for the Dorodnicyn Computing Centre of the Academy of Science. One of his responsibilities was testing the capabilities of new hardware. And for this, Pajitnov came up with the idea of designing a game. Since he was working on the Electronika 60, a text-only terminal, the original Tetris game had letters instead of graphics. The game proved to be a hit with his colleagues and soon became popular in the Soviet Union. Tetris then found its way to Budapest, Hungary, and was picked up by Spectrum Holobyte who developed a version of it and started to market it in the United States. [more...]

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