I wanna see how is the source code of ls and more program in linux. I hope as Linux is open source, I would be able to find it on the net. I tried googling, but I don't get source code. Anyone could provide me a link?
I wanna see how is the source code of ls and more program in linux. I hope as Linux is open source, I would be able to find it on the net. I tried googling, but I don't get source code. Anyone could provide me a link?
What linux do you have if you installed everything it should be in your box somewhere.
Look here for the file-utils package:
http://www.gnu.org/software/fileutils/fileutils.html
and for the core-utils:
http://www.gnu.org/software/coreutils/coreutils.html
ls is in file-utils and core-utils containts that package.
Help populate a c/c++ help irc channel
server: irc://irc.efnet.net
channel: #c
yeah but he probably doesn't have the source; he has it compiled(especially for something like redhat)Originally Posted by StinkyRyan
My linux is SuSe9 Professional. Please tell me where could I find source code.What linux do you have if you installed everything it should be in your box somewhere.
You misunderstood. The links you gave me show how to use ls. That is like man page. I want to see how ls had been written. I want to see source code of ls.Look here for the file-utils package:
No, those pages do get you to download. The GNU site is very wordy, because they try to make each page do a lot of things.
Read the entire page - look for the word download highlighted as a link.
He is right, look here for an exact linkOriginally Posted by jim mcnamara
http://ftp.gnu.org/pub/gnu/coreutils...s-5.2.1.tar.gz
Now just untar and ungunzip it, then have fun finding what you need.
Help populate a c/c++ help irc channel
server: irc://irc.efnet.net
channel: #c