LinuxQuestions.org
Visit Jeremy's Blog.
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 11-22-2003, 11:17 AM   #1
leva
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
./


One more stupid question, but I can't find this in installed documentation (I don't have any hardcopy manual yet):
what means ./ (in ./config) and what does make command do (in make and make install)

Where in documentation can I find more about commands?

Thanks
 
Old 11-22-2003, 11:22 AM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
./ Run from the current directory

The Make utility compiles all your code and makes the executables.

Make install copies the executables to their final directories.

Last edited by Skyline; 11-22-2003 at 11:25 AM.
 
Old 11-22-2003, 12:28 PM   #3
trallith
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Rep: Reputation: 15
in the directory structrue, .. means one level down the tree, you probably knew that, but . means the directory you're currently in. You have to type ./command as root because as a protective measure root can only run commands in the directories listed in the path variable unless the path is included in the command. This way you can't be fooled into running a virus called "ls" that's in your current directory.

./command just means "run the command program located in the present working directory".

Hope that helps

Last edited by trallith; 11-22-2003 at 12:30 PM.
 
Old 11-22-2003, 01:12 PM   #4
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
A nice way to think of it is to replace "." with the current directory, like:

./configure == /home/contrasutra/source/configure
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 PM.

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
Open Source Consulting | Domain Registration