All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Silly Question
@ 2001-01-24 20:44 Isabelle, Francois
  2001-01-24 21:09 ` Richard B. Johnson
  0 siblings, 1 reply; 13+ messages in thread
From: Isabelle, Francois @ 2001-01-24 20:44 UTC (permalink / raw
  To: Linux-Kernel@Vger. Kernel. Org. (E-mail); +Cc: 'Per Hedeland' (E-mail)

There is something I try to do using Linux and I think you may have a clue:

I want to use the external loopback of my ethernet interface to test it. I
want the data to actually go through the cable and I don't want internal
logic to bypass this process.
There is only one interface available, so I can't use swapped routing as
explained here:
http://www.tux.org/hypermail/linux-kernel/1999week21/0294.html.
I'm not sure if this is kernel specific or if some commands may override
default routing behavior.
Any ideas?

Francois Isabelle

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Silly Question
  2001-01-24 20:44 Isabelle, Francois
@ 2001-01-24 21:09 ` Richard B. Johnson
  0 siblings, 0 replies; 13+ messages in thread
From: Richard B. Johnson @ 2001-01-24 21:09 UTC (permalink / raw
  To: Isabelle, Francois
  Cc: Linux-Kernel@Vger. Kernel. Org. (E-mail),
	'Per Hedeland' (E-mail)

On Wed, 24 Jan 2001, Isabelle, Francois wrote:

> There is something I try to do using Linux and I think you may have a clue:
> 
> I want to use the external loopback of my ethernet interface to test it. I
> want the data to actually go through the cable and I don't want internal
> logic to bypass this process.
> There is only one interface available, so I can't use swapped routing as
> explained here:
[SNIPPED...]

If you set a SNIC (Serial Network Interface Chip) to loop-back, the
signal doesn't come in or go out the cable! In fact, initialization
procedures often require that the SNIC be put into loop-back so that
nothing is being received during the initialization process.

You just need another card for the single-machine loop-back testing
that you describe. FYI, you can get an idea of the underlying network
code speed by using the echo and sink port over lo. This uses all
the IP layers, but bypasses the Ethernet hardware.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.0 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Problem running two domains on one Apache server
@ 2003-06-18  2:25 Nilesh Sahita
  2003-06-18  3:06 ` James Turnbull
  2003-06-18  3:46 ` Jim Limmer
  0 siblings, 2 replies; 13+ messages in thread
From: Nilesh Sahita @ 2003-06-18  2:25 UTC (permalink / raw
  To: linux-newbie

Hi,

I am trying to run two domains on one Apache domain.

The system config is:  RH9, Apache 2.0.40

I setup two domains - nstest1.homedns.org and nstest2.homedns.org

In Apache configuration, I create two virtual servers - the entries from
httpd.conf are:

Quote

...

NameVirtualHost *

<VirtualHost nstest1.homedns.org>
DocumentRoot "/var/www/html/test1"
ServerName nstest1.homedns.org
DirectoryIndex index.html index.php index.htm
</VirtualHost>

<VirtualHost nstest2.homedns.org>
DocumentRoot "/var/www/html/test2"
ServerName nstest2.homedns.org
DirectoryIndex index.html index.php index.htm
LogLevel debug
</VirtualHost>

End-quote

In /var/www/html/test1 and /var/www/html/test2, I have two simple
index.html files.

When I access http://nstest1.homedns.org, I serves up test1/index.html -
which is what I expected.  However, when I access
http://nstest2.homedns.org, it serves up test1/index.html instead of
test2/index.html.

I tried clearing browser cache, restarting apache but doesn't help.

Anyone got idea what could be potentially going wrong?

TIA for any pointers/help.

Regards.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problem running two domains on one Apache server
  2003-06-18  2:25 Problem running two domains on one Apache server Nilesh Sahita
@ 2003-06-18  3:06 ` James Turnbull
  2003-06-18  3:46 ` Jim Limmer
  1 sibling, 0 replies; 13+ messages in thread
From: James Turnbull @ 2003-06-18  3:06 UTC (permalink / raw
  To: Nilesh Sahita, linux-newbie

Nilesh Sahita wrote:
> When I access http://nstest1.homedns.org, I serves up
> test1/index.html - which is what I expected.  However, when I access
> http://nstest2.homedns.org, it serves up test1/index.html instead of
> test2/index.html.

Are you accessing the sites inside a local network?  Some routers and
firewalls have issues with internal loopback and virtual domains.

If you are behind a router/firewall then try to connect from outside the
network and see what happens.

Hope that helps.

James

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problem running two domains on one Apache server
  2003-06-18  2:25 Problem running two domains on one Apache server Nilesh Sahita
  2003-06-18  3:06 ` James Turnbull
@ 2003-06-18  3:46 ` Jim Limmer
  2003-06-18  4:41   ` Nilesh Sahita
  1 sibling, 1 reply; 13+ messages in thread
From: Jim Limmer @ 2003-06-18  3:46 UTC (permalink / raw
  To: linux-newbie

Change it so it looks like this

<VirtualHost *>
DocumentRoot "/var/www/html/test1"
ServerName nstest1.homedns.org
DirectoryIndex index.html index.php index.htm
</VirtualHost>

<VirtualHost *>
DocumentRoot "/var/www/html/test2"
ServerName nstest2.homedns.org
DirectoryIndex index.html index.php index.htm
LogLevel debug
</VirtualHost>

the directive in the vitrual host line is what tells apache what 
interface/ip to listen on. assuming you only have one IP address on that 
box, you could also just put that address there instead of the *



Nilesh Sahita wrote:

>Hi,
>
>I am trying to run two domains on one Apache domain.
>
>The system config is:  RH9, Apache 2.0.40
>
>I setup two domains - nstest1.homedns.org and nstest2.homedns.org
>
>In Apache configuration, I create two virtual servers - the entries from
>httpd.conf are:
>
>Quote
>
>...
>
>NameVirtualHost *
>
><VirtualHost nstest1.homedns.org>
>DocumentRoot "/var/www/html/test1"
>ServerName nstest1.homedns.org
>DirectoryIndex index.html index.php index.htm
></VirtualHost>
>
><VirtualHost nstest2.homedns.org>
>DocumentRoot "/var/www/html/test2"
>ServerName nstest2.homedns.org
>DirectoryIndex index.html index.php index.htm
>LogLevel debug
></VirtualHost>
>
>End-quote
>
>  
>


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problem running two domains on one Apache server
  2003-06-18  3:46 ` Jim Limmer
@ 2003-06-18  4:41   ` Nilesh Sahita
  2003-06-18  5:20     ` Jim Limmer
  0 siblings, 1 reply; 13+ messages in thread
From: Nilesh Sahita @ 2003-06-18  4:41 UTC (permalink / raw
  To: linux-newbie

Hi Jim,

My IP address is dynamic - so I guess it is not possible to put IP
address instead of * as you suggested.  Am I right?

I tried changing <VirtualHost nstest1.homedns.org> to <VirtualHost *>.

When I do that, upon trying to access http://nstest1.homedns.org, I get
error:

Quote

Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.


        Hint: https://nstest1.homedns.org/

________________________________________________________________________
Apache/2.0.40 Server at nstest1.homedns.org Port 80

End-quote

If I try to access via https://nstest1.homedns.org, it works.

Any idea why this is happening?

TIA.

Regards,
- Nilesh


On Wed, 2003-06-18 at 11:46, Jim Limmer wrote:
> Change it so it looks like this
> 
> <VirtualHost *>
> DocumentRoot "/var/www/html/test1"
> ServerName nstest1.homedns.org
> DirectoryIndex index.html index.php index.htm
> </VirtualHost>
> 
> <VirtualHost *>
> DocumentRoot "/var/www/html/test2"
> ServerName nstest2.homedns.org
> DirectoryIndex index.html index.php index.htm
> LogLevel debug
> </VirtualHost>
> 
> the directive in the vitrual host line is what tells apache what 
> interface/ip to listen on. assuming you only have one IP address on that 
> box, you could also just put that address there instead of the *
> 
> 
> 
> Nilesh Sahita wrote:
> 
> >Hi,
> >
> >I am trying to run two domains on one Apache domain.
> >
> >The system config is:  RH9, Apache 2.0.40
> >
> >I setup two domains - nstest1.homedns.org and nstest2.homedns.org
> >
> >In Apache configuration, I create two virtual servers - the entries from
> >httpd.conf are:
> >
> >Quote
> >
> >...
> >
> >NameVirtualHost *
> >
> ><VirtualHost nstest1.homedns.org>
> >DocumentRoot "/var/www/html/test1"
> >ServerName nstest1.homedns.org
> >DirectoryIndex index.html index.php index.htm
> ></VirtualHost>
> >
> ><VirtualHost nstest2.homedns.org>
> >DocumentRoot "/var/www/html/test2"
> >ServerName nstest2.homedns.org
> >DirectoryIndex index.html index.php index.htm
> >LogLevel debug
> ></VirtualHost>
> >
> >End-quote
> >
> >  
> >
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problem running two domains on one Apache server
  2003-06-18  4:41   ` Nilesh Sahita
@ 2003-06-18  5:20     ` Jim Limmer
  2003-06-18  5:54       ` nksahita
  0 siblings, 1 reply; 13+ messages in thread
From: Jim Limmer @ 2003-06-18  5:20 UTC (permalink / raw
  To: Nilesh Sahita; +Cc: linux-newbie

OK.

I had this same problem when using the default install of apache on RH 
8.0 it seems its enabling SSL sites by default. If you are not planning 
on using this,

go into /etc/httpd/conf.d

and get rid of ssl.conf - copy it someplace else in case you want to use 
it again at a later time.

restart the httpd service and you should find it working.





Nilesh Sahita wrote:

>Hi Jim,
>
>My IP address is dynamic - so I guess it is not possible to put IP
>address instead of * as you suggested.  Am I right?
>
>I tried changing <VirtualHost nstest1.homedns.org> to <VirtualHost *>.
>
>When I do that, upon trying to access http://nstest1.homedns.org, I get
>error:
>
>Quote
>
>Bad Request
>Your browser sent a request that this server could not understand.
>Reason: You're speaking plain HTTP to an SSL-enabled server port.
>Instead use the HTTPS scheme to access this URL, please.
>
>
>        Hint: https://nstest1.homedns.org/
>
>________________________________________________________________________
>Apache/2.0.40 Server at nstest1.homedns.org Port 80
>
>End-quote
>
>If I try to access via https://nstest1.homedns.org, it works.
>
>Any idea why this is happening?
>
>TIA.
>
>Regards,
>- Nilesh
>
>
>On Wed, 2003-06-18 at 11:46, Jim Limmer wrote:
>  
>
>>Change it so it looks like this
>>
>><VirtualHost *>
>>DocumentRoot "/var/www/html/test1"
>>ServerName nstest1.homedns.org
>>DirectoryIndex index.html index.php index.htm
>></VirtualHost>
>>
>><VirtualHost *>
>>DocumentRoot "/var/www/html/test2"
>>ServerName nstest2.homedns.org
>>DirectoryIndex index.html index.php index.htm
>>LogLevel debug
>></VirtualHost>
>>
>>the directive in the vitrual host line is what tells apache what 
>>interface/ip to listen on. assuming you only have one IP address on that 
>>box, you could also just put that address there instead of the *
>>
>>
>>
>>Nilesh Sahita wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>I am trying to run two domains on one Apache domain.
>>>
>>>The system config is:  RH9, Apache 2.0.40
>>>
>>>I setup two domains - nstest1.homedns.org and nstest2.homedns.org
>>>
>>>In Apache configuration, I create two virtual servers - the entries from
>>>httpd.conf are:
>>>
>>>Quote
>>>
>>>...
>>>
>>>NameVirtualHost *
>>>
>>><VirtualHost nstest1.homedns.org>
>>>DocumentRoot "/var/www/html/test1"
>>>ServerName nstest1.homedns.org
>>>DirectoryIndex index.html index.php index.htm
>>></VirtualHost>
>>>
>>><VirtualHost nstest2.homedns.org>
>>>DocumentRoot "/var/www/html/test2"
>>>ServerName nstest2.homedns.org
>>>DirectoryIndex index.html index.php index.htm
>>>LogLevel debug
>>></VirtualHost>
>>>
>>>End-quote
>>>
>>> 
>>>
>>>      
>>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>Please read the FAQ at http://www.linux-learn.org/faqs
>>    
>>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.linux-learn.org/faqs
>
>  
>


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problem running two domains on one Apache server
  2003-06-18  5:20     ` Jim Limmer
@ 2003-06-18  5:54       ` nksahita
  2003-06-18  6:34         ` Master_PE
  0 siblings, 1 reply; 13+ messages in thread
From: nksahita @ 2003-06-18  5:54 UTC (permalink / raw
  To: linux-newbie

Thanks! 

This seem to have resolved the issue. 

Now I am able to access both homepages from both - inside as well as outside 
the network. 

Many thanks! 

Regards,
 - Nilesh 

Jim Limmer writes: 

> OK. 
> 
> I had this same problem when using the default install of apache on RH 8.0 
> it seems its enabling SSL sites by default. If you are not planning on 
> using this, 
> 
> go into /etc/httpd/conf.d 
> 
> and get rid of ssl.conf - copy it someplace else in case you want to use 
> it again at a later time. 
> 
> restart the httpd service and you should find it working. 
> 
>  
> 
>  
> 
> Nilesh Sahita wrote: 
> 
>> Hi Jim, 
>> 
>> My IP address is dynamic - so I guess it is not possible to put IP
>> address instead of * as you suggested.  Am I right? 
>> 
>> I tried changing <VirtualHost nstest1.homedns.org> to <VirtualHost *>. 
>> 
>> When I do that, upon trying to access http://nstest1.homedns.org, I get
>> error: 
>> 
>> Quote 
>> 
>> Bad Request
>> Your browser sent a request that this server could not understand.
>> Reason: You're speaking plain HTTP to an SSL-enabled server port.
>> Instead use the HTTPS scheme to access this URL, please. 
>> 
>> 
>>        Hint: https://nstest1.homedns.org/ 
>> 
>> ________________________________________________________________________
>> Apache/2.0.40 Server at nstest1.homedns.org Port 80 
>> 
>> End-quote 
>> 
>> If I try to access via https://nstest1.homedns.org, it works. 
>> 
>> Any idea why this is happening? 
>> 
>> TIA. 
>> 
>> Regards,
>> - Nilesh 
>> 
>> 
>> On Wed, 2003-06-18 at 11:46, Jim Limmer wrote:
>>   
>> 
>>> Change it so it looks like this 
>>> 
>>> <VirtualHost *>
>>> DocumentRoot "/var/www/html/test1"
>>> ServerName nstest1.homedns.org
>>> DirectoryIndex index.html index.php index.htm
>>> </VirtualHost> 
>>> 
>>> <VirtualHost *>
>>> DocumentRoot "/var/www/html/test2"
>>> ServerName nstest2.homedns.org
>>> DirectoryIndex index.html index.php index.htm
>>> LogLevel debug
>>> </VirtualHost> 
>>> 
>>> the directive in the vitrual host line is what tells apache what 
>>> interface/ip to listen on. assuming you only have one IP address on that 
>>> box, you could also just put that address there instead of the * 
>>> 
>>>  
>>> 
>>> Nilesh Sahita wrote: 
>>> 
>>>     
>>> 
>>>> Hi, 
>>>> 
>>>> I am trying to run two domains on one Apache domain. 
>>>> 
>>>> The system config is:  RH9, Apache 2.0.40 
>>>> 
>>>> I setup two domains - nstest1.homedns.org and nstest2.homedns.org 
>>>> 
>>>> In Apache configuration, I create two virtual servers - the entries 
>>>> from
>>>> httpd.conf are: 
>>>> 
>>>> Quote 
>>>> 
>>>> ... 
>>>> 
>>>> NameVirtualHost * 
>>>> 
>>>> <VirtualHost nstest1.homedns.org>
>>>> DocumentRoot "/var/www/html/test1"
>>>> ServerName nstest1.homedns.org
>>>> DirectoryIndex index.html index.php index.htm
>>>> </VirtualHost> 
>>>> 
>>>> <VirtualHost nstest2.homedns.org>
>>>> DocumentRoot "/var/www/html/test2"
>>>> ServerName nstest2.homedns.org
>>>> DirectoryIndex index.html index.php index.htm
>>>> LogLevel debug
>>>> </VirtualHost> 
>>>> 
>>>> End-quote 
>>>> 
>>>>  
>>>> 
>>>>       
>>>> 
>>> -
>>> To unsubscribe from this list: send the line "unsubscribe linux-newbie" 
>>> in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>> Please read the FAQ at http://www.linux-learn.org/faqs
>>>     
>>> 
>> 
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-newbie" 
>> in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.linux-learn.org/faqs 
>> 
>>   
>> 
>  
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problem running two domains on one Apache server
  2003-06-18  5:54       ` nksahita
@ 2003-06-18  6:34         ` Master_PE
  2003-06-18  8:39           ` nksahita
  0 siblings, 1 reply; 13+ messages in thread
From: Master_PE @ 2003-06-18  6:34 UTC (permalink / raw
  To: linux-newbie

> >>>
> >>> <VirtualHost *>
> >>> DocumentRoot "/var/www/html/test1"
> >>> ServerName nstest1.homedns.org
> >>> DirectoryIndex index.html index.php index.htm
> >>> </VirtualHost>
> >>>
> >>> <VirtualHost *>
> >>> DocumentRoot "/var/www/html/test2"
> >>> ServerName nstest2.homedns.org
> >>> DirectoryIndex index.html index.php index.htm
> >>> LogLevel debug
> >>> </VirtualHost>

NameVirtualHost *

Doesn't NameVirtualHost need a IP number? 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problem running two domains on one Apache server
  2003-06-18  6:34         ` Master_PE
@ 2003-06-18  8:39           ` nksahita
  2003-06-18  8:55             ` Silly Question John T. Williams
  0 siblings, 1 reply; 13+ messages in thread
From: nksahita @ 2003-06-18  8:39 UTC (permalink / raw
  To: linux-newbie

I am able to do with 'NameVirtualHost *'.  I can't specify IP number because 
I don't have fix IP and am using Dynamic DNS Service provided by 
http://www.dyndns.org. 

For details check - http://www.dyndns.org/support/kb/apachevhosts.html 

Master_PE writes: 

>> >>>
>> >>> <VirtualHost *>
>> >>> DocumentRoot "/var/www/html/test1"
>> >>> ServerName nstest1.homedns.org
>> >>> DirectoryIndex index.html index.php index.htm
>> >>> </VirtualHost>
>> >>>
>> >>> <VirtualHost *>
>> >>> DocumentRoot "/var/www/html/test2"
>> >>> ServerName nstest2.homedns.org
>> >>> DirectoryIndex index.html index.php index.htm
>> >>> LogLevel debug
>> >>> </VirtualHost>
> 
> NameVirtualHost * 
> 
> Doesn't NameVirtualHost need a IP number?  
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Silly Question
  2003-06-18  8:39           ` nksahita
@ 2003-06-18  8:55             ` John T. Williams
  2003-06-18  9:45               ` Flemming Greve Skovengaard
  0 siblings, 1 reply; 13+ messages in thread
From: John T. Williams @ 2003-06-18  8:55 UTC (permalink / raw
  To: linux-newbie

anyone know how or where I could get the source code for basic linux
programs like "ls" and or "mkdir" or "rm" ?


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Silly Question
  2003-06-18  8:55             ` Silly Question John T. Williams
@ 2003-06-18  9:45               ` Flemming Greve Skovengaard
  2003-06-18 14:41                 ` Ray Olszewski
  0 siblings, 1 reply; 13+ messages in thread
From: Flemming Greve Skovengaard @ 2003-06-18  9:45 UTC (permalink / raw
  To: John T. Williams; +Cc: linux-newbie

John T. Williams wrote:
> anyone know how or where I could get the source code for basic linux
> programs like "ls" and or "mkdir" or "rm" ?
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 
> .
> 
The basic fileutils (ls, cp, rm, etc) can be found at:
http://www.gnu.org/software/fileutils/fileutils.html

You might also want to take a look at:
http://www.gnu.org/software/coreutils/

GNU's webpage holds many if not all of the Linux utils.
http://www.gnu.org/

-- 
Flemming Greve Skovengaard               Be it the Devil or be it him
a.k.a Greven                             You can count on just one thing
<dsl58893@vip.cybercity.dk>              When the time is up, you'll know
4168.08 BogoMIPS                         Not just one power runs the show

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Silly Question
  2003-06-18  9:45               ` Flemming Greve Skovengaard
@ 2003-06-18 14:41                 ` Ray Olszewski
  0 siblings, 0 replies; 13+ messages in thread
From: Ray Olszewski @ 2003-06-18 14:41 UTC (permalink / raw
  To: linux-newbie

At 11:45 AM 6/18/2003 +0200, Flemming Greve Skovengaard wrote:
>John T. Williams wrote:
>>anyone know how or where I could get the source code for basic linux
>>programs like "ls" and or "mkdir" or "rm" ?
[...]
>The basic fileutils (ls, cp, rm, etc) can be found at:
>http://www.gnu.org/software/fileutils/fileutils.html
>
>You might also want to take a look at:
>http://www.gnu.org/software/coreutils/
>
>GNU's webpage holds many if not all of the Linux utils.
>http://www.gnu.org/


Good options all. An additional one is the source packages associated with 
whichever Linux distribution you use.

In Debian, as an example, you can use the command "dpkg-query -S filename" 
to find the package that holds any file actually on your system. You can 
then use "apt-get source packagename" to install it.

I imagine the other packaging systems (or at least RPM) have analogous 
capabilities. Slackware CDs used to include a complete filelist that you 
could grep to match an app to its .tgz package.



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-06-18 14:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18  2:25 Problem running two domains on one Apache server Nilesh Sahita
2003-06-18  3:06 ` James Turnbull
2003-06-18  3:46 ` Jim Limmer
2003-06-18  4:41   ` Nilesh Sahita
2003-06-18  5:20     ` Jim Limmer
2003-06-18  5:54       ` nksahita
2003-06-18  6:34         ` Master_PE
2003-06-18  8:39           ` nksahita
2003-06-18  8:55             ` Silly Question John T. Williams
2003-06-18  9:45               ` Flemming Greve Skovengaard
2003-06-18 14:41                 ` Ray Olszewski
  -- strict thread matches above, loose matches on Subject: below --
2001-01-24 20:44 Isabelle, Francois
2001-01-24 21:09 ` Richard B. Johnson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.