find command

BASH for loop works nicely under UNIX / Linux / Windows and OS X while working on set of files. However, if you try to process a for loop on file name with spaces in them you are going to have some problem. For loop uses $IFS variable to determine what the field separators are. By default $IFS is set to the space character. There are multiple solutions to this problem.

{ 59 comments }

I’ve already written about conceptual information regarding file system, especially data structure and related terms that help you become a successful system administrator. However I do get few emails asking about /opt directory or /usr or /lost+found directories and their purpose on the system. Exploring Linux File System Hierarchy A typical Linux system has the […]

{ 0 comments }

IBM developerWorks published new article for Intermediate Linux/UNIX users. Explore the vast terrain of the UNIX file system with the find command. One of the most powerful and useful commands in the UNIX programmer’s repertoire is find. All flavors of UNIX have file systems that can contain thousands of files of many different types. With […]

{ 1 comment }

Installing software from a source code is common practice in UNIX and Linux world. Some time this is preferred method because it gives all power and flexibility you need to optimize your software such as MySQL, PHP, and Apache etc. However, uninstalling files installed from a source code tar ball is a big headache. Two […]

{ 7 comments }

In the first part we talked about find command basic usage. Now let us see how to use find command (a) To gain lots of useful information about users and their files (b) Monitor and enhance the security of system using find command Finding all set user id files setuid (“suid”) and setgid are access […]

{ 12 comments }

Many newcomers find it difficult use the find command at shell prompt under Linux / *BSD or Solairs UNIX oses. Find is nifty tool on remote server where UNIX admin can find out lot of information too. Desktop users may find handy GNOME Search tool as a utility for finding files on system. Find command […]

{ 14 comments }