Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-14-2004, 06:34 AM   #1
LQ Newbie
Registered: Aug 2003
Location: Pune (india)
Posts: 15

Rep: Reputation: 0
run shell script in c program

how can i run shell script through C program in red hat linux?
Suppose a script contains some commands and i want to run it thorugh C program just like as we call dos commands through SYSTEM commands in windows environment
Old 02-14-2004, 02:48 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Have a look at
man system
man exec



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
a script run through a shell program... okeyla Linux - Newbie 1 09-15-2005 10:06 AM
Creating a shell script to run Java program paultaylor Programming 7 11-12-2004 03:11 PM
Shell script to run pl/sql script. colly Linux - General 1 09-09-2004 06:49 AM
Run interactive program in shell escargot22026 Programming 4 08-14-2004 11:59 PM
how to run a shell script type program redragon7964 Linux - Newbie 1 04-06-2004 02:03 AM

All times are GMT -5. The time now is 09:00 AM.

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