The UNIX and Linux Forums  

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
Simple Script xplod4202 Shell Programming and Scripting 11 04-27-2008 11:20 PM
simple script help ali560045 Shell Programming and Scripting 4 01-24-2008 05:24 AM
help with simple script jdel80 UNIX for Dummies Questions & Answers 1 11-29-2005 12:44 PM
simple script hedrict UNIX for Dummies Questions & Answers 4 02-23-2004 04:15 PM
Simple VI script brassmon_k UNIX for Dummies Questions & Answers 3 02-09-2001 12:33 PM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-16-2008
wakhan wakhan is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 58
Simple script

Hello All,

I want to make a simple script file, that when user run it ./Rutine so all the commands defined in rutine script runs. I am using solaris. and there is one command in it subshl which changes the prompt from # to < and then i have to run commands for that < prompt like this < rcv:menu;

#subshl
USLI TERMINAL IN SERVICE.
<



Code:
the command in script is:
df -k
Mirrors
DisplayAll
subshl
rcv:menu;

The problem is this that all the commands upto subshl runs and < prompt opens but the commands of < prompt dont runs.

Actually the question is that how to make script which open subshl prompt <
and runs command for it defined in script.




Regards,
Waqas Ahmed
 

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:13 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