Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
google site



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-31-2009
Registered User
 

Join Date: Sep 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up 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.
Sponsored Links
  #2  
Old 12-31-2009
thegeek thegeek is offline Forum Advisor  
Registered User
 

Join Date: Apr 2009
Location: /usr/bin/vim
Posts: 870
Thanks: 2
Thanked 10 Times in 8 Posts
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
Registered User
 

Join Date: Feb 2002
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
I guess this is what you want:

Index of /gnu/coreutils
Sponsored Links
Closed Thread

Bookmarks

Tags
source_code

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to get source code of Unix commands? jagdish.machhi@ Linux 4 08-10-2007 10:44 AM
Source Code Of Unix rajesh_ranjan26 Post Here to Contact Site Administrators and Moderators 1 10-01-2006 07:38 AM
the source code of unix matsoyka Post Here to Contact Site Administrators and Moderators 1 03-07-2006 04:14 AM
UNIX commands source rubis450 Shell Programming and Scripting 1 12-16-2002 09:45 AM
Browsing Unix Source Code via the Web Perderabo News, Links, Events and Announcements 0 12-16-2002 09:43 AM



All times are GMT -4. The time now is 07:46 AM.