Skip to main content

iTerm2 vs Plain Old Terminal - Which One Is The Best?

In MacOS, you would have used the plain ol' terminal to run shell commands and do basic operations. Have you ever wondered if you have an alternative that will be better and useful than the default terminal? I have used iTerm2 and have found it useful in the following ways. Feel free to use it and leave your comments on what you feel about it.

iTerm2's Special Sauce:

1. Split Panes

You can split a particular terminal window into multiple panes. You can split it vertically or horizontally as you wish and you can also drag the size of the windows as and when you like it. How is it useful? It is useful because you can view multiple log tails in the single terminal window and you can also monitor multiple running apps in a single window.

Bonus: You can have multiple tabs as well - which means that you can create multiple split panes in different windows.


2. Copy To Clipboard Upon Selection

When looking at logs and you want to copy certain error messages, this comes in handy. Just select the text you want using the mouse (by dragging dropping or double clicking), the terminal automatically copies that particular text into the clipboard. Handy right?

3. Advanced Search

iTerm2 has got search functionalities that are very useful. It does a reverse search by default and allows you to use regular expressions. Also the highlighting of the search matches are very prominent and puts your eyes on it as easily as possible.

4. More Colors

The latest version supports colors upto 24 bit. So you can play around with the colors in your favorite editors.

5. Autocomplete

When you press CMD+; after typing a few words, you will get a list of previously entered command from which you can choose. It is very similar to the reverse search (control + r) but in a visual fashion and helps you get the options very easily.


Download iTerm2 Here:


Use it and let me know what you feel in your comments.

You can follow me at Twitter, Facebook, LinkedIn and Website.

Comments

Oh My Zsh addon would be a worthy mention for iTerm2 I guess. :)
Jey Geethan said…
Thanks. a link would be helpful!

Featured

Rails Engine - How To Keep Your Engine Migrations Abstracted From Your Host Rails App

Have you ever worked on building a Rails Engine and wanted to keep the models, the migrations and everything inside the engine rather than using a generator to copy paste them into your host Rails App? That's a problem everybody faces one time or the other when building Rails Engines to abstract out your huge Rails App. I have found one such solutions that can be helpful for you to keep them separate. Here is a solution for it.
Problem Statement: Instead of using

    rails g my_engine:install
to copy paste the migrations from engine to your rails app, you want to just keep the migrations inside the Rails Engine and do not bother about it.
Solution:  Add the following lines to your engine, so that your engine's migration files are added to the rails app as well.

Now you can do the following from your rails app to run your migrations as you always do:

rake db:migrate
Hope it helps you! If it does help you, give me a shoutout below!

Talk to me on Twitter, Facebook, LinkedIn or Web…
You will receive wonderful short stories written by him and inspirational articles once every month.