# This is general Questions?

**URL:** <https://www.ruby-forum.com/t/this-is-general-questions/115068>\
**Category:** Ruby\
**Created:** [September 20, 2007, 11:08am UTC](https://www.ruby-forum.com/t/this-is-general-questions/115068 "2007-09-20T11:08:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vellingiri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Post date:** [September 20, 2007, 11:08am UTC](https://www.ruby-forum.com/t/this-is-general-questions/115068/1 "2007-09-20T11:08:10Z")

</div>

Dear Friends,  
Where can I get the ls source code.  
Please anyboby already aware means that tell to me.  
I have been searching since two days,but I was unable to get the clear  
source code of ls.  
anyone help me.

by  
Vellingiri.

---

<div class="post-metadata">

**Author:** ![vellingiri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Post date:** [September 20, 2007, 11:23am UTC](https://www.ruby-forum.com/t/this-is-general-questions/115068/2 "2007-09-20T11:23:38Z")

</div>

On 20 Sep 2007, at 18:08, Vellingiri A. wrote:

> Dear Friends,  
> Where can I get the ls source code.  
> Please anyboby already aware means that tell to me.  
> I have been searching since two days,but I was unable to get the clear  
> source code of ls.  
> anyone help me.
> 
> by  
> Vellingiri.

No offense, but this question is very hard to understand. What do you  
mean by ‘ls’?

If you mean the unix command line program then:

a) This is the wrong place for your question.  
b) You can’t have searched very hard for those two days because  
googling for ‘ls source code’ gives the wikipedia entry for ls as the  
first result, from which three versions of ls are directly linked.

Alex G.

Bioinformatics Center  
Kyoto University

---

<div class="post-metadata">

**Author:** ![vellingiri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Post date:** [September 20, 2007, 11:27am UTC](https://www.ruby-forum.com/t/this-is-general-questions/115068/3 "2007-09-20T11:27:58Z")

</div>

Alex G. wrote:

> On 20 Sep 2007, at 18:08, Vellingiri A. wrote:
> 
> > Dear Friends,  
> > Where can I get the ls source code.  
> > Please anyboby already aware means that tell to me.  
> > I have been searching since two days,but I was unable to get the clear  
> > source code of ls.  
> > anyone help me.
> > 
> > by  
> > Vellingiri.
> 
> No offense, but this question is very hard to understand. What do you  
> mean by ‘ls’?
> 
> If you mean the unix command line program then:
> 
> a) This is the wrong place for your question.  
> b) You can’t have searched very hard for those two days because  
> googling for ‘ls source code’ gives the wikipedia entry for ls as the  
> first result, from which three versions of ls are directly linked.
> 
> Alex G.
> 
> Bioinformatics Center  
> Kyoto University

Hai,  
I am really very very sorry for posting the questions.  
ok.

by  
vellingiri.

---

<div class="post-metadata">

**Author:** ![vellingiri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Post date:** [September 20, 2007, 11:30am UTC](https://www.ruby-forum.com/t/this-is-general-questions/115068/4 "2007-09-20T11:30:39Z")

</div>

Vellingiri A. wrote:

> ```
> Where can I get the ls source code.
> 
> ```
> 
> Please anyboby already aware means that tell to me.  
> I have been searching since two days,but I was unable to get the clear  
> source code of ls.

I have been searching two minutes:

[http://www.google.co.uk/search?q=ls+source+code](http://www.google.co.uk/search?q=ls+source+code)

returns as the top search result a link to:

> **[ls](https://en.wikipedia.org/wiki/Ls)**
>
> In computing, ls is a command to list computer files and directories in Unix and Unix-like operating systems. It is specified by POSIX and the Single UNIX Specification.
> It is available in the EFI shell, as a separate package for Microsoft Windows as part of the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities,
> or as part of ASCII's MSX-DOS2 Tools for MSX-DOS version 2.
> The numerical computing environments MATLAB and GNU Octave include an ls 
> function with similar fun...

Which contains an obvious link to:

[http://minnie.tuhs.org/UnixTree/V7/usr/src/cmd/ls.c.html](http://minnie.tuhs.org/UnixTree/V7/usr/src/cmd/ls.c.html)

Among the other top 10 google search results were several instances of  
people asking the same question.

This is a friendly list, but please don’t abuse people’s goodwill by  
asking questions without doing some basic research first - especially if  
those questions do not relate to ruby.

a

---

<div class="post-metadata">

**Author:** ![vellingiri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Post date:** [September 20, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/this-is-general-questions/115068/5 "2007-09-20T15:16:18Z")

</div>

On Sep 20, 2007, at 05:08 , Vellingiri A. wrote:

> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

First hit on google shows:

[http://www.koders.com/c/fid4DCA9588BF1A4DA19B1A2D5C139BAE53F5348A8F.aspx](http://www.koders.com/c/fid4DCA9588BF1A4DA19B1A2D5C139BAE53F5348A8F.aspx)

~Wayne

s///g  
Wayne E. Seguin  
Sr. Systems Architect & Systems Administrator

---

<div class="post-metadata">

**Author:** ![vellingiri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Post date:** [September 20, 2007, 4:10pm UTC](https://www.ruby-forum.com/t/this-is-general-questions/115068/6 "2007-09-20T16:10:34Z")

</div>

Vellingiri A. wrote:

> ```
> Where can I get the ls source code.
> 
> ```

Hmmm. ls --help yields lots of search-worthy verbiage, including “color  
is  
not used to distinguish types of files”. Sticking that, with quotes,  
into  
[http://www.google.com/codesearch](http://www.google.com/codesearch) returns:

ftp://alpha.gnu.org/gnu/coreutils/coreutils-4.5.5.tar.gz

BTW this group discusses Ruby, which ls _should\_not_ be implemented in.

And I feel your pain - I once foolishly attempted to find the source to  
‘cal’, in the days before /el Goog/'s codesearch! On a lark…
