[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Quick LInux Quiz
- Subject: [ale] Quick LInux Quiz
- From: jasonday at worldnet.att.net (Jason Day)
- Date: Mon Mar 15 17:28:54 2004
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Mon, Mar 15, 2004 at 05:13:42PM -0500, Michael D. Hirsch wrote:
> Quick! What is the effect of "cd //"? I sure guessed wrong.
Weird, it's not what I expected either:
jday:spiderman$ cd //
jday:spiderman$ pwd
//
jday:spiderman$ cd ///
jday:spiderman$ pwd
/
jday:spiderman$ cd ////
jday:spiderman$ pwd
/
I get the same results in gentoo, debian stable, and debian unstable,
different versions of bash on each. Other than pwd showing '//', it
still behaves as though it's the root directory. Same for things like
//home, //usr, etc.
--
Jason Day jasonday at
http://jasonday.home.att.net worldnet dot att dot net
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9