The UNIX and Linux Forums  

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
One Question related to alias neerajrathi2 UNIX for Advanced & Expert Users 4 01-24-2008 01:43 AM
Post Your Favorite UNIX/Linux Related RSS Feed Links Neo What's on Your Mind? 0 12-23-2007 08:41 AM
related to directory permission mxms755 UNIX for Dummies Questions & Answers 1 04-06-2006 05:55 AM
a math related question jahjah Shell Programming and Scripting 9 09-13-2004 07:56 AM
A Question related to the net sskb UNIX for Dummies Questions & Answers 8 10-03-2001 06:37 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-26-2002
Registered User
 

Join Date: Jun 2002
Posts: 13
Stumble this Post!
Cool 1st post here! directory related question ( // )...

Hello guys!

Your board is very cool (professional and very great-looking!)

I have some experience with unix but there is something im wondering since this morning when working on a box here...

Here is the cut&paste from the terminal..,

ttstest01:~$ cd /

ttstest01:/$ pwd
/

ttstest01:/$ ls
boot/ dev/ export/ lib@ mnt/
bla bla bla...

ttstest01:/$ cd //

ttstest01://$ pwd
//

ttstest01://$ ls
boot/ dev/ export/ lib@ mnt/
bla bla bla...

ttstest01://$ cd ///
ttstest01:/$

ttstest01:/$ uname -a
SunOS ttstest01 5.8 Generic_108529-10 i86pc i386 i86pc


What is causing this (the "//" directory) ?
Forum Sponsor
  #2 (permalink)  
Old 06-26-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Stumble this Post!
I believe it is just ignoring the rest of the //'s. It does the same on HP-UX.

$ cd ////
[me@myserver]:/
$ pwd
/
[me@myserver]:/
$ uname -a
HP-UX myserver B.11.00 A 9000/889
  #3 (permalink)  
Old 06-26-2002
Registered User
 

Join Date: Nov 2001
Location: New Zealand
Posts: 333
Stumble this Post!
Correct...multiple / is the same as 1 for Sun too.
__________________
Pete
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0