![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| SSH prompts password for non identical users | vjkatsun | UNIX for Advanced & Expert Users | 5 | 06-02-2008 01:18 AM |
| Shell Program that prompts for user Id | mmg2711 | Shell Programming and Scripting | 16 | 10-25-2007 01:09 PM |
| password prompts | balag | UNIX for Advanced & Expert Users | 2 | 01-05-2006 02:19 PM |
| scripting password prompts | hcclnoodles | Shell Programming and Scripting | 3 | 03-21-2005 04:25 PM |
| rsh help with remote prompts | ianf | Shell Programming and Scripting | 4 | 09-02-2002 10:55 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Which flavour of unix you are using.
for solaris if you want to change your prompt echo $PS1 will tell you the prompt. you neet to type PS1=# or PS1=@ or PS1="`hostname`{`logname`}" whatever you want.Then execute the coomads whichever you want. then press ^d you will be taken out of that shell. you will again prompt to the original shell. Thanks Namish |
|
||||
|
to nimish and vino
hi
my scenario is like this. i have telnetted to a machine. in that i have to run a process for which i have to change the prompt to say 'XYZ'. then in that prompt i have to stop a process by the command say, 'stop-process'. then i would quit that prompt by 'exit' command I want a script to do this. the problem is the prompt is changed , but the command s not getting executed. my script luks like this. #! /bin/csh -f XYZ sleep 15 stop-process exit how to do tht? |
| Sponsored Links | ||
|
|