LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-24-2006, 10:57 PM   #1
pedroalvarez
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

PATH=$ORACLE_HOME/bin:$PATH:.

Thanks
 
Old 12-24-2006, 11:18 PM   #2
PatrickNew
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.
 
  


Reply


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 07: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 07:04 AM
MIKEROWSOFT dot COM joesbox General 31 01-23-2004 05:16 PM
What is dot vrdprasad Linux - General 1 11-08-2003 05:57 AM
dot and dot dot gag Linux - Newbie 4 10-17-2003 05:57 PM


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

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