Advertisement

02.06.2008 at 08:34PM PST, ID: 23143530
[x]
Attachment Details

How do I find if a specific directory exists in a filesystem using perl

Asked by gravindra1977 in Perl Programming Language, Sun Solaris, Unix Operating Systems

Tags: Perl

Hi,
I have a problem where I was asked to find if a particular directory exists in a filesystem. For example we have SunOS unix operating system which has /uXX filesystems. I need a perl script which would determine which all filesystems contain a directory called 'odsap1'.
Could anyone please provide with a perl script which would search all the filesystems and determine which all would contain this directory called, 'odsap1'.
Thanks in advance. Your help is really appreciatedStart Free Trial
[+][-]02.06.2008 at 09:05PM PST, ID: 20838383

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.06.2008 at 09:13PM PST, ID: 20838412

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Perl Programming Language, Sun Solaris, Unix Operating Systems
Tags: Perl
Sign Up Now!
Solution Provided By: Adam314
Participating Experts: 4
Solution Grade: A
 
 
[+][-]02.06.2008 at 11:41PM PST, ID: 20838920

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.07.2008 at 01:12AM PST, ID: 20839281

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628