![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bourne Shell script - log for users loggin on and off | noodlesoup | Shell Programming and Scripting | 14 | 09-08-2006 07:30 PM |
| Bourne: How to invoke an alias from within a shell script | techshots | Shell Programming and Scripting | 2 | 06-03-2006 09:38 PM |
| Bourne Shell Script | dmhonor914 | UNIX for Dummies Questions & Answers | 2 | 12-10-2003 09:25 AM |
| bourne shell script | psrinivas | Shell Programming and Scripting | 2 | 12-06-2001 12:38 PM |
| Bourne shell script need help please ? | dezithug | UNIX for Advanced & Expert Users | 7 | 10-24-2001 10:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
Quote:
If you read the thread you will see that the question relates to bourne shell, bourne shell does not have aliases. |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Do you want the user to exit your script and be in the correctory directory?
Then source your script. ie., (note the leading dot) Code:
. /path/to/script.sh the first line is Code:
#!usr/bin/sh |
|
#10
|
||||
|
||||
|
Quote:
|
|
#11
|
|||
|
|||
|
Hi Jim,
BTW Great advice, thank you. So if i understand you right you right, i will end up with a pretty complex .cshrc file. Which is fine by me ! The fact is i just thought there might be a simple way to get control of the shell where the script was initiated. I guess NOT ! Cheers Jim and to everyone for your kind support and valuable time. FMA |
|||
| Google The UNIX and Linux Forums |