The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
small problem yosef_yaniv UNIX for Dummies Questions & Answers 2 11-29-2007 01:42 AM
Small Problem with SCO rabih_saleh SCO 2 12-11-2006 09:05 AM
Small problem... Green_Monkey23 IP Networking 1 10-04-2006 04:27 AM
Small UNIX problem nbvcxzdz Shell Programming and Scripting 1 03-19-2005 02:43 AM
small date problem hcclnoodles Shell Programming and Scripting 3 01-17-2005 05:16 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-02-2004
mile1982 mile1982 is offline
Registered User
  
 

Join Date: Sep 2004
Location: Down Under
Posts: 11
a small problem

hey there

i kinda have a small/big problem. i have created a 'small' version of a shell that only accepts ls comamnds. my problem is that when i compiled the program and got it to work, i deleted the .c file from which the shell was created. but now, i would like to do some more work on the shell but stupidly enough dont have the .c file. so is there a way that i could somehow get the .c file from the shell program. if anyone could help, i would appreciate it very much

cheers
mile1982
  #2 (permalink)  
Old 10-02-2004
locustfurnace locustfurnace is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2004
Posts: 232
You may be able to get something out of the program by using the strings command.

useage:
strings <filename>
  #3 (permalink)  
Old 10-07-2004
mbb mbb is offline
Registered User
  
 

Join Date: Aug 2001
Location: UK
Posts: 104
And now you understand why it is critical to make backups and use source control e.g. RCS, SCCS or CVS in Unix.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0