There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet java laptop malware memory monitor motherboard music network obp printer problem ram registry repair router slow software sound toshiba trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Shell scripting and C

Reply  
Thread Tools
mark22's Avatar
Junior Member with 2 posts.
 
Join Date: Sep 2004
Experience: Advanced
24-Sep-2004, 12:11 PM #1
Shell scripting and C
Could anybody tell me if it's possible to embed C code in a shell script? I need to know it and I've been searching in google with no success.
Arky's Avatar
Senior Member with 548 posts.
 
Join Date: Aug 2004
Experience: Advanced
24-Sep-2004, 12:19 PM #2
I presume you mean UNIX shell script and the answer is no. You can, however, "shell out" of a C program and run a DOS command.
Arky's Avatar
Senior Member with 548 posts.
 
Join Date: Aug 2004
Experience: Advanced
25-Sep-2004, 02:49 PM #3
I neglected to mention that it is frequent to see C programs in UNIX Shell Scripts. To avoid shell proliferation the program is always executed in the current shell with the . prefix.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:41 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.