Welcome to the most active Linux Forum on the web.
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 12-24-2006, 11:57 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
dot in PATH

What is the importance of dot in PATH?

For instance, what does the following signify


Old 12-25-2006, 12:18 AM   #2
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
every directory has two sort of "virual links" in them that ls usually leaves out. These are "." and "..". "." is a link to the folder itself and .. is a link to it's parent folder. So, putting dot in your path means that you can always execute a command that resides in the directory you are currently in, even if that command isn't in any of the other usual places. This provides greater convenience, but is generally accepted to be a security risk. You make the choice.


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
dot space dot binary_0011 Linux - Newbie 5 09-14-2006 08:43 AM
useradd not accepting dot so i am not able to use dot in mail id hanu_raob Linux - General 5 05-13-2004 08:04 AM
MIKEROWSOFT dot COM joesbox General 31 01-23-2004 06:16 PM
What is dot vrdprasad Linux - General 1 11-08-2003 06:57 AM
dot and dot dot gag Linux - Newbie 4 10-17-2003 06:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 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