The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable to view files in a particular directory under /opt its.simron UNIX for Dummies Questions & Answers 1 05-21-2008 10:02 AM
Unable to view files in a particular directory under /opt its.simron Linux 1 05-21-2008 09:59 AM
view libraries and contents of object files and shared library naren_chella HP-UX 4 06-22-2006 10:12 AM
view contents of shared library naren_chella High Level Programming 4 05-26-2006 01:01 PM
unable to view the output through this cgi rishchand UNIX for Dummies Questions & Answers 0 08-17-2005 05:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-23-2001
maddave maddave is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 8
Unable to view contents of a directory

Hi, first post here be gentle. Very new to Unix. Using HP-UX 10.20

I CD into a remote directory on one machine

$ cd /net/remote hostname

yet when I do an ll in this directory none of the contents appear. It just is empty.

when I do the same command from another machine,

$ cd /net/remote hostname

do an ll I get to see the entire contents.

I do a pwd on both machines and I am in exaxtly the same place on each.

Why can I see the contents on one machine yet on the other I cant!! please help if you can
  #2 (permalink)  
Old 10-23-2001
Apex Apex is offline
Registered User
  
 

Join Date: Oct 2001
Location: Barnsley
Posts: 2
ls -all

by any chance ?
  #3 (permalink)  
Old 10-23-2001
maddave maddave is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 8
Nope tried that. still wont show contents.
  #4 (permalink)  
Old 10-23-2001
Apex Apex is offline
Registered User
  
 

Join Date: Oct 2001
Location: Barnsley
Posts: 2
got the right user access to list the contents ?
  #5 (permalink)  
Old 10-23-2001
maddave maddave is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 8
Not sure.

I would think if I didn't it would say permission denied or something, but after an ll command it just says
total 0.
With the other machine you can cd into the directory do an ll and it shows everything thats in there.

Very confusing.

cheers for your help.
  #6 (permalink)  
Old 10-23-2001
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
First of all, there are two different boxes here. Do you really think that all systems have the same files?

But /net/remotehost is a special directory. That is where a feature called the automounter will automatically mount remote filesystem upon request.

This requires cooperation from both the local and the remote system. It could be that this relationship exists on one of your systems but not the other. Maybe the second system isn't even running the automounter.

Or maybe it is. On that system with the empty directory, try to cd to a subdirectory anyway. You may succeed if the automounter is running.
  #7 (permalink)  
Old 10-23-2001
maddave maddave is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 8
No. I try to cd to a directory I know is there that wont show up on one machine but is listed on the other machine, yet it says

ksh: "directory name" not found

I just dont understand how two machines looking at one machine cannot see the same thing? All permissions are correct.

What exactly is a automounter?

cheers all for you help, any more suggestions.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0