My 2 paisas

cd // ??

Posted on: July 17, 2009

I executed the following command by mistake instead of “cd ..”

  • cd //

and strangely i was in some folder //
When I tried the command “pwd” i got the output as “//”.
When I tried the command “ls” i got the same output as if it was the “/” directory.
When I tried the command “cd ..” I was in the same directory as happens in “/” directory.
So I could conclude that it is the same “/” directory. But its existence did not make any sense then.

Advertisements
Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Links that I liked to save

Blog Stats

  • 44,347 hits
%d bloggers like this: