Sponsored Content
Top Forums UNIX for Advanced & Expert Users Source code for Unix commands Post 302383750 by thegeek on Thursday 31st of December 2009 08:27:26 AM
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
 

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
DCONTROL(1)															       DCONTROL(1)

NAME
dcontrol -- Query package and source control files for all Debian distributions SYNOPSIS
dcontrol [options] package[modifiers] [...] DESCRIPTION
dcontrol queries a remote database of Debian binary and source package control files. It can be thought of as an apt-cache webservice that also operates for distributions and architectures different from the local machine. MODIFIERS
Like apt-cache, packages can be suffixed by modifiers: =version Exact version match @architecture Query this only architecture. Use @source for source packages, @binary excludes source packages. /[archive:][suite][/component] Restrict to archive (debian, debian-backports, debian-security, debian-volatile), suite (always codenames, with the exception of experimental), and/or component (main, updates/main, ...). Use two slashes (//) to separate suite and component if the suite name contains slashes. (Component can be left empty.) By default, all versions, suites, and architectures are queried. Refer to http://qa.debian.org/cgi-bin/dcontrol for currently supported values. OPTIONS
-s, --show-suites Add headers showing which distribution the control file is from. -d, --debug Print URL queried. -h, --help Show a help message. -V, --version Show version information. CONFIGURATION VARIABLES
The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variable is: DCONTROL_URL URL to query. Default is http://qa.debian.org/cgi-bin/dcontrol. AUTHOR
This program is Copyright (C) 2009 by Christoph Berg <myon@debian.org>. This program is licensed under the terms of the GPL, either version 2 of the License, or (at your option) any later version. SEE ALSO
apt-cache(1). Debian Utilities 2013-12-23 DCONTROL(1)
All times are GMT -4. The time now is 06:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy