Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-14-2008, 01:26 PM   #1
LQ Newbie
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
difference between // and /


Please i am new on the world of Linux and i want to know why we write "//" not just "/" between folders.
Exemple: /home/bacon/.CA/simpleCA//private/key.pem
What is the difference?
And Thanks
Old 02-14-2008, 02:05 PM   #2
Registered: Nov 2003
Distribution: Arch
Posts: 31

Rep: Reputation: 16
There is no difference. There is an extra / at one place. It can be removed.
Old 02-14-2008, 02:07 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
I have never seen any definition of "//". On my system, cd dir/subdir and cd dir//subdir do the same thing. Also cd dir////subdir.

Perhaps someone made a typo in a document???


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference focussys Linux - General 5 06-25-2007 02:44 PM
difference between 9.1 and 9.2 lellyville SUSE / openSUSE 2 02-28-2005 11:58 PM
Difference? the mac 13 Linux - Software 7 01-13-2005 04:38 PM
what is the difference shanenin Linux - Software 4 10-24-2003 09:14 AM
What is the difference? drewski *BSD 5 05-21-2003 03:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration