Visit Jeremy's Blog.
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 11-22-2003, 12:17 PM   #1
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?

Old 11-22-2003, 12:22 PM   #2
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 12:25 PM.
Old 11-22-2003, 01:28 PM   #3
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 01:30 PM.
Old 11-22-2003, 02:12 PM   #4
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

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

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


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 > Forums > Linux Forums > Linux - Newbie

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