LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2004, 10:45 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
viewing command coding.


I want to get into bash programming and wanted to know if there was a way from the terminal that i coulld view the coding of commands like cp. ls, etc to see how they work for examples.
 
Old 12-16-2004, 10:58 PM   #2
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
command --help or man help usually give enough without having to see the actual coding.
 
Old 12-16-2004, 11:02 PM   #3
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
i'd be interested in seeing the actual functions and what not used.
 
Old 12-16-2004, 11:10 PM   #4
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
I've been interested in this as well, I guess the best way to start is by getting the source to the coreutils package.

http://www.gnu.org/software/coreutils/ For info.

http://ftp.gnu.org/pub/gnu/coreutils...-5.2.1.tar.bz2 For the bzipped source.

This package has things like rm, ls, chown, chmod etc... Unzip it and have fun exploring . I haven't gotten around to wading through the source yet myself, but there is alot there to keep you occupied for a long time.

Last edited by sh1ft; 12-16-2004 at 11:13 PM.
 
Old 12-16-2004, 11:17 PM   #5
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
thanks that was what i was looking for
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command for viewing wget in progress? lectraplayer Debian 4 09-28-2005 08:59 PM
viewing pictures in command line??? mlu Linux - Software 4 05-25-2005 10:48 PM
command for viewing hardware stats devinWhalen Linux - Newbie 4 03-02-2004 03:25 PM
Shell coding, multi-command prompt maniac01 Programming 3 03-02-2004 10:48 AM
viewing images on the command line darkangel Linux - General 3 02-14-2002 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration