Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Compare directories with diff

Up
vote
Down

The Linux command diff can be used to create a script that will list the differences between two directories. This comparison is often very useful when writing scripts.
The diff command compares two files or directories and returns the differences. This provides you a way to monitor changes in an important directory like /etc which houses most configuration files on a Linux system. In order for this to work properly you will need to create a file that lists the content of the /etc directory so that you can make a comparison.
 read more | mail this link | score:7803 | -aweber, December 2, 2011
More Linux articles...

Fine Art Online Gallery

linux headlines

Hybryde Fusion: A unique Linux distribution

Multiboot Linux distributions from one USB key

Tutorial: Build a CentOS 6.4 x86_64 Server

OpenShift Enterprise 1.0 announced

Fedora 18 and fedup

Dual-boot Windows 7 and Ubuntu 12.04 on a PC with UEFI board, SSD and HDD

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin