" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Import mails from Outlook Express of windows to Evolution Mail of Ubuntu 11.04

Posted on November 24th, 2015 by Sandeep Agrawal

1. First install Mozilla Thunderbird in MS window (www.mozilla.org/en-US/thunderbird/) 2. Open Thunderbird and import all mails from outlook express. 3.  Go To “C:\Documents and Settings\USER_PROFILE_NAME\Application Data\Thunderbird\Profiles\aza7ggav.default\Mail\Local Folders” 4 . Copy the file with extension .sbd (like Outlook Express Import.sbd) to evolution mail directory of your linux machine which is     /home/USER_PROFILE_NAME/.local/share/evolution/mail   5.Now open evolution […]

Screen sharing in linux terminal (SSH)

Posted on November 24th, 2015 by Satheeskumar A

Normally, Users/Developers do screensharing via skype or some third party screen sharing tools. Now, lets see how to share your SSH screen with multiple users. Mostly i will get into the screen, which is started, but very recently i had a chance to start a screen session to add some users into the SSH session. […]

Accessing Linux share via Windows

Posted on November 24th, 2015 by Kaushik Sahoo

Accessing linux share via windows requires some additional settings. To acess shared folders in linux via windows we need to follow the following steps: Install Samba on your linux machine. (In Ubuntu you can go to Applications>ubuntu software center, and search for Samba) Open terminal and type replace username with your username, and set the […]

Remote Desktop in Linux

Posted on November 24th, 2015 by Satheeskumar A

Mostly, developers who have windows and need to connect to their peer’s system or client system using the option Remote Desktop Connection that is available in the programs->Acessories section . But for those who start with the Linux, if they need to connect to the windows box remotely, they can do it via the command “rdesktop”. […]

GUI Frontend For The Subversion Version Control System For Linux/Ubuntu

Posted on November 24th, 2015 by Sandeep Agrawal

Use the following commands to Install GUI frontend for the subversion version control system for linux/ubuntu 1. SVN work bench (http://pysvn.tigris.org/docs/WorkBench.html)             Command: sudo apt-get install svn-workbench 2. Rapid svn (http://rapidsvn.tigris.org/)             Command: sudo apt-get install rapidsvn There are other subversion clients available, check this http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients

Install Windows apps in ubuntu

Posted on November 24th, 2015 by Sandeep Agrawal

Install Go to System -> Administration -> Synaptic package Manager. In Synaptic package Manager window search for “playonlunux” and install it. or open terminal and write sudo apt-get install playonlinux and press enter. Use Go to Application -> Games and open PlayOnLinux In PlayOnLinux window click install button and it will display options to install […]

Fix system hang issue

Posted on November 24th, 2015 by Sandeep Agrawal

On certain systems, a bad interaction between Unity, the GL driver and the kernel may cause the system to hang. As There are three session types available which are : “Unity” which requires 3D driver support. “Ubuntu Classic” which runs GNOME with gnome-panel. It supports all video hardware and video drivers. “Ubuntu Classic (No Effects)” […]

Use of sed command in linux

Posted on November 24th, 2015 by Satheeskumar A

use of sed command in linux Recently in my project, i was supposed to search and replace a text in my project. We all know that grep is the one which is used to search a word in a file along with some other commands like find, locate etc.. But to search and replace word […]

Configure SMTP For Localhost In Ubuntu

Posted on November 24th, 2015 by Ankit Agrawal

For setting up the SMTP server for personal use, very first thing we need to do is install the postfix on your Ubuntu and then we just need to configure the basic settings. Open the terminal and please type the following command to install the postfix on your system: sudo apt-get install postfix After entering […]

Quick Way To Check Execution Time Of Python Script In Linux

Posted on November 24th, 2015 by Shanki Gandhi

The quickest and easiest way to check execution time of a Python script in Linux environment is the time utility provided by Linux. Usage example: Suppose the name of the Python script is myScript.py and content of the script is print “myScript”. Normally to execute a python script from terminal, we do $ python myScript.py […]

Scheduling Cron in Linux Envoirnment (System or Server)

Posted on November 24th, 2015 by Ankit Agrawal

Cron is a time based scheduler that executes commands at specified intervals. These commands are called “cron jobs”. Cron can be used for automatically creating backups, synchronizing files, scheduling updates, and much more. Cron is available on Unix, Linux and Mac servers. Windows servers use a “Scheduled Task” to execute commands. “crontab” is the command […]

How to clone git repo in Linux terminal using private key of remote machine

Posted on November 24th, 2015 by Satheeskumar A

I have recently come across a situation requiring me to clone a repository using a private key of remote machine in a staging server. Basically when the public key is added to the list of authorized keys to the server, then while cloning it will search for the ppk that resides in ~/.ssh/id_rsa. But here […]

Check Directory Structure On Ubuntu Terminal

Posted on November 24th, 2015 by Shanki Gandhi

Quick and easy way to check directory/folder structure on ubuntu terminal is using treecommand. This command allows us from the terminal to list all contents (files and folders) of a folder in the form of a tree navigation. This will be useful for those who use frequently the terminal and want to find what they […]

Clearing The Port Of Server In A Linux-based System

Posted on November 24th, 2015 by BINAY RAY

Sometimes due to multiple use of the port where the localhost server is running gets stuck. the reason is even if you close a localhost server that port is still in use by some process. As a result it will not allow to restart the server. There are two ways to forcefully clear the port […]

Performance issue on Linux system.

Posted on November 24th, 2015 by Neeraj Verma

This tip helps to increase performance of your Linux system by reducing swappiness. If you have performance issue in your Linux based system, then here is the answer for that. (I tried it on Ubuntu and fedora Linux distro, And its working well on both). You can check the swappiness using : >_cat /proc/sys/vm/swappiness By […]

Create file of a required size

Posted on November 24th, 2015 by Manish Agarwal

What will you do if you have to test upload functionality for a particular size of file. It is really tough to find file of a particular size for testing purpose. Fortunately we have a command which can do the same for us. OSX Command mkfile 1g test.txt Above command will create a file test.txt […]

How to run background(child) process in PHP without blocking the usual flow of parent process on Linux server

Posted on November 23rd, 2015 by Sujata Mohanty

Using Shell command we can run a PHP script known as child process inside another PHP script known as Parent process without allowing the parent process to wait for the completion of the child process. This is mostly useful for running  crons in background  where the parent process calling the cron  will not wait for […]

How do I add jobs to cron under Linux or UNIX ?

Posted on November 23rd, 2015 by Mukulika Panda

What is Cron Cron is  a daemon process,that enables Linux/Unix users to execute commands or scripts (groups of commands) automatically at a specified time/date.which means it runs continuously in the background, waiting to run a specified operation at predefined times or when specific events occur.. Crontab crontab is a Unix command that creates or modifies […]

Conversion of several document types to pdf

Posted on November 23rd, 2015 by Sarita Kund

Recently i came across a requirement to convert a wide range of file formats (.doc, docx, .xls, .rtf , .odt, .ods, .ppt etc.) to pdf file in PHP. I found a very good utility to do this, which i would like to share with you all. Note: You need to have OpenOffice and unoconv installed […]

LAMP Setup on AWS EC2 SUSE Linux

Posted on November 23rd, 2015 by Chittaranjan Pattnaik

AWS (Amazon Web Services) provides EC2 instance for its users which can be used as a webserver and on cloud. Users has the flexibility to choose what operating system and which environment they want to use for their web server. For one of our project the client has selected SUSE linux as the EC2 instance […]

Text-based Web browser to view Web page in terminal in Linux

Posted on November 23rd, 2015 by Sandeep Agrawal

If w3m is not installed by default then install w3m using the following command in terminal. sudo apt-get install w3m Now to access a web page in command line(terminal in linux) open the terminal and type : w3m <website name> w3m <file name path> Example: w3m www.google.co.in w3m /home/test.html   For more information and option […]

PHP Class for unzipping ZIP file on Linux/Windows

Posted on November 23rd, 2015 by Subranil Dalal

In php unzipping a zip file is always different for  separate OS. Though most php sites are running on Linux there are a few on Windows too. Here I have written a class to programmatically unzip a zip according to the OS Linux/Windows . My  class is OS independent, it automatically detects the server’s OS and processes the unzipping […]