The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to build a command into a string rather than execute the command littlejon Shell Programming and Scripting 1 05-29-2008 08:05 PM
shell script to execute user command redtiger Shell Programming and Scripting 1 04-30-2008 06:53 PM
script execute or no execute Kespinoza97 Shell Programming and Scripting 4 06-23-2007 09:27 AM
awk and execute command ??? sabercats Shell Programming and Scripting 13 03-28-2006 06:12 PM
Plz Help : How to use write command to execute command on some other terminal Aashish UNIX for Dummies Questions & Answers 2 03-03-2006 12:25 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 06-24-2008
bonovox bonovox is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 11
how to execute a sh command from a csh script

Hi everyone,

I have a csh script that works fine but the output of an rsh command is different if I use boune shell instead cshell.

Is there the possibility to execute only this command in bourne shell from a script declared cshell?

Thanks


Christian
  #2 (permalink)  
Old 06-24-2008
spirtle spirtle is offline
Registered User
  
 

Join Date: Jun 2008
Location: Scotland
Posts: 150
Run a bash subshell like
Code:
bash -c "rsh etc"
  #3 (permalink)  
Old 06-25-2008
bonovox bonovox is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 11
Thaks a lot
It works fine!!
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:37 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