≡ Menu

Linux

How to Install CVS and Create CVS Repository on Linux Server

Question: How do I install CVS server, and create a CVS repository on UNIX / Linux environment to manage my source codes? Answer: You should really be using subversion or GIT. For some reason, if you still want to install and configure CVS, use the steps explained below. 1. Verify CVS Make sure your Linux [...]

{ 5 comments }

Journey of a C Program to Linux Executable in 4 Stages

You write a C program, use gcc to compile it, and you get an executable. It is pretty simple. Right? Have you ever wondered what happens during the compilation process and how the C program gets converted to an executable? There are four main stages through which a source code passes in order to finally [...]

{ 88 comments }

9 Linux Parted Command Examples – mkpart, mkpartfs, resize partitions

Parted is a GNU utility, which is used to manipulate the hard disk partitions. Using parted, you can add, delete, and edit partitions and the file systems located on those partitions. You can also clone partitions. This article explains 9 practical parted command examples. Warning: Parted utility manipulates the hard disk partition table and saves [...]

{ 9 comments }

How to Password Protect Grub Boot Loader in Linux

If you are a Linux sysadmin, you might not want others in your IT department, who has physical access to the server, change anything from the GRUB bootloader menu that is displayed during system startup. GRUB is the 3rd stage in the Linux boot process that we discussed earlier. GRUB security features allows you to [...]

{ 17 comments }

Top on Steroids – 15 Practical Linux HTOP Examples

htop is just like top, but on steroids. Once you are used to htop, you’ll never go back to top again. htop is a ncurses-based process viewer. You can interact with the htop using mouse. You can scroll vertically to view the full process list, and scroll horizontally to view the full command line of [...]

{ 15 comments }

15 Linux Yum Command Examples – Install, Uninstall, Update Packages

Installing, removing, and updating packages is a typical activity on Linux. Most of the Linux distributions provides some kind of package manager utility. For example, apt-get, dpkg, rpm, yum, etc. On some Linux distributions, yum is the default package manager. Yum stands for Yellowdog Updater Modified. This article explains 15 most frequently used yum commands [...]

{ 25 comments }

20 Things to Plan for an IT Disaster Recovery

Implementing a disaster recovery solution is dependent on three factors — 1) time 2) resources 3) dollar amount. Most organization doesn’t even think about DR when the IT infrastructure and applications are running without any issues. Most of them think about DR only when something breaks that created a major negative impact on the business. [...]

{ 6 comments }

GIT is the most versatile distributed version control system. The way GIT tracks and handles file changes is very efficient and different than how other version control software tracks the changes (including CVS and Subversion). This article is for those who are new to GIT. This is a jump-start guide that will show you how [...]

{ 25 comments }