| | |
Need scripting expert help
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jan 2006
Posts: 1
Reputation:
Solved Threads: 0
Hi Can anyone help me with this. Im new to doing scripts. Thanks
I am writing a simple script to cd to another directory. But the directory does not change after running the script. How can i make the directory change after running the script?
operator@tiger013s% pwd
/export/home/tiger013s/operator
operator@tiger013s% more sample
#!/bin/csh
cd /home/local_summary
operator@tiger013s% sample
operator@tiger013s% pwd
/export/home/tiger013s/operator -> i want to be in /home/local_summary
I am writing a simple script to cd to another directory. But the directory does not change after running the script. How can i make the directory change after running the script?
operator@tiger013s% pwd
/export/home/tiger013s/operator
operator@tiger013s% more sample
#!/bin/csh
cd /home/local_summary
operator@tiger013s% sample
operator@tiger013s% pwd
/export/home/tiger013s/operator -> i want to be in /home/local_summary
![]() |
Similar Threads
- what is the best scripting language? (Computer Science)
- Seeking DW MX 2004 Expert (Site Layout and Usability)
- JScript experts - HELP needed! (Java)
Other Threads in the Shell Scripting Forum
- Previous Thread: Network access ksh
- Next Thread: Creating shell script that use snort
Views: 1828 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Shell Scripting





