CC Solution Required Urgently


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers CC Solution Required Urgently
# 1  
Old 05-28-2008
CC Solution Required Urgently

Hi there,
My question is:

If the command cc is executed on obelix, what executable file will be run? Using the results of whereis, which and any other commands you consider necessary, explain why this file is executed.

Please help as soon as possible
thanks
# 2  
Old 05-28-2008
This sounds like homework - which is against forum rules.
which cc tells you the name of the executable that will be run. The "weenie" with this is that cc also runs cpp and ld, but there is no way to know that from the commands you listed. You get it from the man page.

...assuming obelix has ld, cc, and cpp, which are all part of most unix implementations.
# 3  
Old 05-28-2008
what is obelix?
# 4  
Old 05-29-2008
I'm assuming it is an "obscure unix variant" as far as the person asking the original question goes. Maybe he/she had it confused with mobilix (tuxmobil) which is a linux for mobile devices -- I do not know for sure. I do know that Obelix is a comic book character. There is no Obelix unix variant to my knowledge. Asterix is the comic buddy for Obelix.
# 5  
Old 05-29-2008
Curiously, the person asking "what is obelix" is also the person who asked the original question. We can't know, buddy; ask the person who gave you this homework in the first place. Maybe it's the name of a server at your school?
# 6  
Old 05-29-2008
Quote:
Originally Posted by satty
what is obelix?
Obelix - Wikipedia, the free encyclopedia

Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solution required for awk script

Hi Jim, The following script is in working state. But i m having one more problem with awk cmd. Could you tell me how to use any variable inside awk or how to take any variable value outside awk. My problem is i want to maintain one property file in which i am declaring variable value into that... (1 Reply)
Discussion started by: Ganesh Khandare
1 Replies

2. Shell Programming and Scripting

Help need urgently....

I am new to shell scripting I am getting file sample.txt from mainframes to my unix machine Mon-Fri every 15 minutes from 9:00AM to 6:00PM. I need to Compare timestamp of sample.txt against system time via a Unix script kicked off by an Autosys job My Task is to write a shell script to monitor... (3 Replies)
Discussion started by: chinniforu2003
3 Replies

3. Solaris

most urgently about pc-routing

Hi I have knowledge is a little about Solaris 10. I have problem route Question I have two lan interfaces nge0 >> 192.168.1.1 / 24 and link up Client1 >> 192.168.1.10 not out internet (GW 192.168.1.254) nge1 >> 192.168.50.220 /24 and link up Client50 >> 192.168.50.1 can... (2 Replies)
Discussion started by: sermsuk
2 Replies

4. Shell Programming and Scripting

help needed urgently

hi all i need help I am confused and stucked. Actually i am new in this scripting stuff. I want to give complete txt file as a input to a variable and then sort the data in the file according to the alpha numeric characters, as my text file contains ! and !! and !!! indicating Minor, Major and... (11 Replies)
Discussion started by: nabmufti
11 Replies

5. Shell Programming and Scripting

Need help urgently

Hi to All, I m a regular visitor of this site but this one is my first thread . Although I ve tried but I cant find the solution .:confused: I ve number of files having extension .file., which having some define statement in it.The files consits as follows Ex:- abc.file `define ADCONV0 ... (3 Replies)
Discussion started by: user_prady
3 Replies

6. UNIX for Dummies Questions & Answers

Need Information Urgently.

Hi i dont know about the UNIX OS at all but now as my Project requires, i need to learn it as soon as possible. Could anybody please help me out in suggessting any good elementary book on UNIX OS so that atleast i can learn the commands for UNIX servers and at the same time within the short span... (3 Replies)
Discussion started by: sumit_krishan
3 Replies
Login or Register to Ask a Question