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
Problem returning string Treasa High Level Programming 1 12-15-2008 12:56 PM
Verifying if the shell command executed or not? eamani_sun Shell Programming and Scripting 3 05-13-2008 04:18 AM
How to get the exit satus of a command which I executed in sftp prompt Karteek Shell Programming and Scripting 2 04-09-2008 09:00 AM
Unix shell script couldn't be executed. Pls help! duke0001 Shell Programming and Scripting 8 09-15-2006 12:15 AM
string returning function jisc High Level Programming 5 03-23-2006 10:35 AM

 
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 02-06-2009
jvan jvan is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 3
returning un executed string to shell prompt

Hi all, i'm pritty new to chell scripting

I'm trying to find a way to return a value to shell without it executing. is there a special character that will encase a sting including the command to a shell without executing, so waiting for the user to press enter.

say i wanted to return a value like "cd /usr/mydocs/mywrk/thedate/" but just have it sit in the shell.

anyway is this possible or am i waisting my time here

any answers would be greatly apreciated.

john
 

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 03:02 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