LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Ant <fineales@ozemail.com.au>
To : Nathan Millhouse <nmlinuxsa@voidnet.com.au>
Date: 29 Apr 2003 23:51:50 +0930
Re: cd // ??????
The shell takes the prompt from the user input if the cd was successful.
// is syntactically the same as / so Its valid and cds there. Same as
sometimes in buggy scripts you see a path with a double / somewhere in a
path yet it works the same none the less.
Ant
On Tue, 2003-04-29 at 23:41, Nathan Millhouse wrote:
> Can anyone enlighten me here,
>
> I made a typo when changing directories and acciedently typed 'cd //'
> to my supprise the bash prompt changed to // but when doing an 'ls' it
> displays the contents of '/'
>
> This happens on both my Linux boxen so I'm assuming it's supposed to do
> that.
> Any comments on why or what its for?
> I can't find anything on the net as searching for "cd //" or alike on
> the net yields
> usless results because of the contents of the query.
>
>
> Nathan Millhouse
>
>
> --
> LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
> To unsubscribe from the LinuxSA list:
> mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page