by SathiyaMoorthy
on July 6, 2010
Screen command offers the ability to detach a long running process (or program, or shell-script) from a session and then attach it back at a later time.
When the session is detached, the process that was originally started from the screen is still running and managed by the screen. You can then re-attach the session at a later time, and your terminals are still there, the way you left them.
In this article, let us review the how to manage the virtual terminal sessions using screen command with examples.
[continue reading…]
by SelvaGaneshan S
on July 2, 2010
Fail2ban scans log files for various services ( SSH, FTP, SMTP, Apache, etc., ) and bans the IP that makes too many password failures. It also updates the firewall rules to reject these ip addresses.
Fail2ban is an intrusion prevention framework written in the Python programming language.
Main purpose of Fail2ban is to prevent brute force login attacks.
[continue reading…]
by SathiyaMoorthy
on July 2, 2010
We are Vim editor fans. Vim editor is the most popular editor for UNIX / Linux platform, followed by emacs editor. If you talk to emacs editor fans, they might think otherwise.
In the spirit of learning, we’ve decided to explore emacs editor in detail and we’ll be posting several emacs articles in the upcoming weeks.
In this article, let us review how to install Emacs editor on Ubuntu / Debian. We’ll also see how to do the basic operation of opening and saving a file in Emacs editor.
[continue reading…]
by Balakrishnan Mariyappan
on July 1, 2010
In this article, let us discuss how to write Perl socket programming using the inbuilt socket modules in Perl.
Perl socket modules provides an object interface that makes it easier to create and use TCP / UPD sockets.
This article covers the following topics:
- Perl example code for TCP client and server
- Perl example code for UDP client and server
- Read and write descriptor list using Select(IO::Select)
[continue reading…]
by Ramesh Natarajan
on June 30, 2010
If you have installed VMware ESXi server, you can manage the ESXi server using vSphere client. vSphere client works only on Windows host. If you don’t have vSphere client installed, download it from your local VMware Server home page. i.e go to http://{your-vmware-server-ip} to download vSphere client.
The direct url to download vSphere client from your installation of VMware server is: https://{your-vmware-server-ip}/client/VMware-viclient.exe
[continue reading…]
by SathiyaMoorthy
on June 29, 2010
For finding difference between two versions of a file on Linux, you can use any one of the 4 tools explained in this article — diff, colordiff, wdiff, and vimdiff.
The screenshots provided for these tools shows the difference between the following two empfile1.txt and empfile2.txt.
[continue reading…]
by Sasikala
on June 28, 2010
Looping statements are used to force a program to repeatedly execute a statement. The executed statement is called the loop body.
Loops execute until the value of a controlling expression is 0. The controlling expression may be any scalar data type.
[continue reading…]
by Ramesh Natarajan
on June 26, 2010
No words can explain the epic Wimbledon 1st round tennis match between John Isner and Nicolas Mahut. Final score: 6-4, 3-6, 6-7 (9-7), 7-6 (7-3), 70-68. It was simply brilliant. If you are a sports fan (doesn’t matter what kind of sport you love), this is a match that you’ll never forget in your life time. This has been called as “greatest match ever” by lot of people in the sports world.
When both Isner and Mahut was involved in this longest tennis match in history (11 Hours and 5 Minutes), this is what happened at the geek stuff this week.
[continue reading…]