Linux

Git LogoCreating a patch in GIT is a great way to share changes that you are not yet ready to push to a public branch of a project.

To better understand how we will create a patch, lets first discuss a little about how GIT stores changes.

If you are new to GIT, install git and get a jumpstart from this GIT introduction article.

The first time a file is committed to a project in GIT, a copy is stored. For all commits after that, GIT essentially stores instructions telling it how to transform the previous version of the project to the newly committed version.
(more…)

Synergy is an open source network utility which can be used to share one keyboard and mouse with multiple systems.

Synergy utility works on client-server model.

The system whose keyboard and mouse you want to share, runs the synergy server service (synergys), and all the other systems runs the synergy client service (synergyc) to connect to server.
(more…)

If you are developing Java web application, you should consider deploying it on open source JBoss AS Java application server.

This tutorial explains how to install JBoss with SSL support on Linux.
(more…)

How to Create Filesystem Snapshots using Snapper Command on Linux

by Karthikeyan Sadhasivam on March 12, 2014

Snapper is a Linux command-line tool to create and manage snapshots of your filesystems.

Using snapper command, you can create read-only snapshots. You can use these snapshots to restore specific files or all files during any disaster situation.

You can also use it to compare multiple snapshots and revert back to a specific old snapshots.
(more…)

Few GDB Commands – Debug Core, Disassemble, Load Shared Library

by Lakshmanan Ganapathy on March 11, 2014

GDB is an essential tool for programmers to debug their code.

This article explains how you can use gdb to debug a program with the core file, how to display assembly language instructions of your program, and how to load shared library programs for debugging.
(more…)

AppArmor is a Mandatory Access Control or MAC system.

It uses Linux Security Module to restrict programs. AppArmor sets up a collection of default application profiles to protect Linux services.

You can also protect any other applications running on your system by creating profile files yourself.

In Ubuntu, AppArmor is installed and enabled by default. The apparmor profiles get loaded when system starts.
(more…)

Samba is used by sysadmin to overcome the problem of interoperability in a mixed environment where you have both Linux and Windows. It provides a common platform for both Windows and Linux to have a common sharing space.

Domain controller is a service which is used for centralized administration of users, groups or any objects in the network. This service enables us to manage, authenticate, and secure the users login and related data.
(more…)

How to Use Linux Shutdown and Reboot Command with Examples

by Himanshu Arora on February 11, 2014

This tutorial explains various command line options available for the Linux shutdown and reboot commands.
(more…)