Hidden within the confines of the elegant Mac OS X, is a powerful Unix based terminal that allows you to fully utilize your system and its resources. This tutorial is aimed at helping you become familiar with some useful commands that will help you customize your OS, secure your system and entice you to dive deeper into the operating system. All that’s required is Mac OS X, and a little curiosity.
This tutorial will be broken up into four parts. The first part will explain how to utilize and explore the terminal, which will be used to enter commands. The second part will consist of security related commands or commands that can be used to secure your system. The third part will deal with the customization of your operating systems, and some useful commands you can use to impress your colleagues and friends. Lastly, this tutorial will explore some of the tools utilized to test your Mac and it’s performance. Just to reiterate, all that is required is Mac OS X and a little curiosity.
Section 1 Opening the Terminal:
The easiest way that I’ve found to open the terminal is to click on the Spotlight icon located in the top left corner of your Mac and enter “terminal.”
Alternatively you can access the Terminal in the Applications/Utilities directory.
For accessibility once you have the Terminal open, right click on the icon located in the Dock and select (Options – Keep in Dock) , this will make it much easier to access in the future.
This next tip isn’t an actual terminal command however, it’s included because it offers the opportunity to make your interaction with the terminal a little more enjoyable. By selecting a theme that is visually more appealing and easier on the eyes your more incline to use it more.
Terminal Menu – Preference – Settings
Note: By selecting a theme and clicking Default, it becomes your default theme. You can also customize the colors etc in the right panel. Don’t worry you can always undo your changes by selecting the round settings icon and selecting restore defaults.
Customizing Terminal MOTD (Message of the day)
Typically the MOTD or Message of the day is empty, so you don’t see anything. However you should be aware you have the option to tweak this setting to display any text information you prefer.
Enable Command: sudo pico /etc/motd
Type your message and click control+x to save
Then press Y (yes)
Simply clear the box and resave.
In Part 2, we’ll explore security.