write a c program that simulates ls command | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

write a c program that simulates ls command

Shell Programming and Scripting


Tags
unix download

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-10-2008
madhu.it madhu.it is offline
Registered User
 
Join Date: Oct 2008
Last Activity: 11 October 2008, 5:10 AM EDT
Location: andhra pradesh
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
MySQL write a c program that simulates ls command

i need the a c program that simulates the "ls" command
Sponsored Links
    #2  
Old 10-10-2008
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
 
Join Date: Mar 2005
Last Activity: 5 July 2014, 11:14 AM EDT
Location: classification algos
Posts: 3,203
Thanks: 19
Thanked 30 Times in 27 Posts
Why should we write that for you ?

Is this a homework ?
Sponsored Links
    #3  
Old 10-10-2008
madhu.it madhu.it is offline
Registered User
 
Join Date: Oct 2008
Last Activity: 11 October 2008, 5:10 AM EDT
Location: andhra pradesh
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
i dont know how to ask...thats y i am writing like this ...if u r a little bit free then do this ..other wise forget this ....
this is not a home work for u...if u know this then reply to me...if u r intrested in this then reply to me otherwise dont write like this........
    #4  
Old 10-10-2008
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
 
Join Date: Mar 2005
Last Activity: 5 July 2014, 11:14 AM EDT
Location: classification algos
Posts: 3,203
Thanks: 19
Thanked 30 Times in 27 Posts
Easy

May I request you to read the rules of the forum.

Even in case, if thats your homework - you are not supposed to post homework questions here.
Also, you haven't posted what you had tried so far.
Sponsored Links
    #5  
Old 10-10-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 
Join Date: Sep 2007
Last Activity: 22 July 2014, 10:18 AM EDT
Location: St. Gallen, Switzerland
Posts: 6,213
Thanks: 116
Thanked 450 Times in 410 Posts
Lol? What's this? matrixmadhan just aksed you if this is homework. If not, it wood be polite to explain what it is good for and then since there is the ls command already and it is written in C afaik, what else should that be good for but that you got this as a task from some trainer or teacher or coworker or...

If you need the code for it, maybe you pick it out yourself out of the coreutils sources from gnu.

Index of /pub/gnu/coreutils

And please don't give rules how/if to answer, ty.
Sponsored Links
    #6  
Old 10-10-2008
vino's Avatar
vino vino is offline Forum Advisor  
Supporter (in vino veritas)
 
Join Date: Feb 2005
Last Activity: 9 April 2013, 8:19 AM EDT
Location: Sydney, Down Under
Posts: 2,847
Thanks: 0
Thanked 12 Times in 12 Posts
zaxxon has given enough help by posting that link. Please do use that link to download the actual source of the coreutils.

I dont see anything more useful coming out of this thread. Closing it.

madhu.it, please adhere to the rules. Given your post count of only 10, you have just escaped from getting an infraction.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can anyone help? I have to Write a program in C that recognizes the following commands and translate aintour Homework & Coursework Questions 1 10-14-2009 11:45 AM
how to write next line program hegdeshashi Shell Programming and Scripting 6 06-01-2009 03:16 AM
Pressing backspace key simulates enter key vibhor_agarwali UNIX for Dummies Questions & Answers 2 04-19-2007 06:31 PM
how can i write process_pool program? hit Programming 4 06-17-2002 03:36 AM
Urgent!! How to write a shell program to execute command to access internet? firebirdonfire UNIX for Dummies Questions & Answers 2 04-26-2001 11:16 AM



All times are GMT -4. The time now is 01:26 PM.