Source code for Unix commands


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Source code for Unix commands
# 1  
Old 12-31-2009
MySQL Source code for Unix commands

hi Folks!!
Just got a question in mind....
Is it possible for us to read the c code of the commands in the bin directory? I work on a LINUX server and i only see executables in the bin directory which i obviously can't read. Please help me regarding this.
Thanks in advance and wishing you a very happy and prosperous New year 2010.
# 2  
Old 12-31-2009
1. In debian kind of systems, following is the way i will get source.
Code:
apt-get source PACKAGE-NAME

For getting the zip command source.
Code:
apt-get source zip

If you get this error,
Code:
E: You must put some 'source' URIs in your sources.list

Add a source repository, like.,
Code:
deb-src http://debian.uchicago.edu/debian/ etch main contrib non-free



2. If you cannot do it, navigate through the packages.debian.org and download it from there.
For 'bc' command source, here you can get: Debian -- Details of source package bc in lenny
# 3  
Old 12-31-2009
I guess this is what you want:

Index of /gnu/coreutils
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Block of code replacement in Java source code through Unix script

Hi, I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory. finally { if (null != hibernateSession && hibernateSession.isOpen()) { //hibernateSession.close(); } } It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies

2. UNIX for Dummies Questions & Answers

Where can i get unix source code?

Sir please tell me where can i get source code for some unix kernal and shell also. (1 Reply)
Discussion started by: VIPUL15
1 Replies

3. Programming

I have C++ exe file( no source code) and need to run many large dataset under unix, b

I have C++ exe file( no source code) and need to run many large dataset under unix, but how to know the memeroy usage for one dataset?http://www.codeproject.com/script/Forums/Images/New.gif I think "top" is not good and if using the profiler, it seems no free download, any ideas? (1 Reply)
Discussion started by: Danielwang1986
1 Replies

4. Linux

how to get source code of Unix commands?

Can anyone tell me how/where to get the source code for the unix commands like "ls ,finger,cp....etc" commands . I have tried very hard but failed so far. Thanks JAGDISH MACHHI (4 Replies)
Discussion started by: jagdish.machhi@
4 Replies

5. Post Here to Contact Site Administrators and Moderators

Source Code Of Unix

Do you have the source code of UNIX? If yes, can you please send it to me on my email email address deleted For your this help I shall be obliged to you. With Regards rajesh ***phone removed*** (1 Reply)
Discussion started by: rajesh_ranjan26
1 Replies

6. Post Here to Contact Site Administrators and Moderators

the source code of unix

tha ithela na moy peite an mporo apo kapoy na vro ton pigaio kvdika toy unix se glossa c .efxaristo. (1 Reply)
Discussion started by: matsoyka
1 Replies

7. Shell Programming and Scripting

UNIX commands source

does anyone knows where i can find the source code any Unix commands??? THx (1 Reply)
Discussion started by: rubis450
1 Replies
Login or Register to Ask a Question

Featured Tech Videos