Featured Posts

Adding HTML Signature to your iPhone 4 without Jailbreaking itAdding HTML Signature to your iPhone 4 without Jailbreaking... One of the features missing on the iPhone is HTML signature for Mail, and if you are using two different email addresses like me you probably want to have two different...

Readmore

Play Tetris Using Mac Leopard TerminalPlay Tetris Using Mac Leopard Terminal Terminal Tetris is actually part of the Gnu Emacs and is something you should able to do on any unix system that has Emacs on it. I attached text and video instructions. To...

Readmore

Automate a Remote Login Using SSH - LinuxAutomate a Remote Login Using SSH - Linux To do just that you need to create SSH Key Pair 1. we need to use ssh-agent to create an SSH key pair. To do that run this command: ssh-keygen -t rsa When prompted...

Readmore

Free Google Wave InvitesFree Google Wave Invites Do you really want a Google Wave Invite but don't want to pay $$$ on eBay??? I got one for you.... The deal is: I give you an Invitation and once you get it...

Readmore

Start Google Chrome in Incognito ModeStart Google Chrome in Incognito Mode I'm Using Mozilla FireFox as my default web browser But I like using Chrome for Private Browsing. Google Chrome doesn't provide an option to load Incognito by default so...

Readmore

Cool Geex Rss

Make Your Mac Terminal More Personal

Posted on : 08-01-2010 | By : Cool Geex | In : Mac Leopard, Snow Leopard, Terminal

0

Terminal windows are usually pretty boring, but you can make them more personal by adding a welcome message and  changing some colors.

To do so, open your terminal under Applications –> Utilities.

Then type : open -e ~/.profile (The file will open in the graphic text editor)

Go to the end of the file and add the red text:

echo -n “Current Time: “ (To Show The Current Time)
date


echo “Disk Usage:”
(To Show the Disk Usage)
df -h

Linux Process Control With HTOP

Posted on : 13-12-2009 | By : Cool Geex | In : Linux, Terminal, Ubuntu

0

If you use the top command in Linux you are going to LOVE htop….

Htop is an ncursed-based process viewer similar to top, but it allows to scroll the list vertically and horizontally to see all processes and their full command lines.  Tasks related to proccesses (killing, renicing) can be done without entering their PIDs.

To Install Htop on Ubuntu Linux Just open terminal and type:

sudo apt-get install htop

Automate a Remote Login Using SSH – Linux

Posted on : 15-10-2009 | By : Cool Geex | In : Linux, Terminal

1

ssh-keygen

To do just that you need to create SSH Key Pair

1. we need to use ssh-agent to create an SSH key pair.

To do that run this command: ssh-keygen -t rsa

When prompted for a password, choose something long and secure.

After few seconds  you should see a message like:

Your identification has been saved in ~/.ssh/id_rsa.

Your public key has been saved in ~.ssh/id_rsa.pub.

Now we need to add the public key (id_rsa.pub) to our web server. You can head in to the web server via FTP and cut and paste the info into ~/.ssh/authorized_keys.

Or The terminal way, execute this line, substituting your login info:

Viewing file differences in Terminal using colors

Posted on : 13-08-2009 | By : Cool Geex | In : Linux, Mac Leopard, Terminal

0

So, a friend asked me who come my terminal is full of colors and he have one color.

To make your files list in color just type ls -G, or make ‘ls’  show colors by default, this is how:

Video Version:

Text Version:

Play Tetris Using Mac Leopard Terminal

Posted on : 08-08-2009 | By : Cool Geex | In : Games, Linux, Mac Leopard, Terminal, Unix

1

Terminal Tetris is actually part of the Gnu Emacs and is something you should able to do on any unix system that has Emacs on it.

I attached text and video instructions.

To start it all you have to do is:

1. Open Terminal

2. type: “emacs” and wait for the emacs screen to load

3. hit “esc” then type “x”

4. type “tetris” (lowercase letters)

5.Enter

A Tetris game will load in the window and you can play it by using the arrow keys & space to control the falling blocks.