![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can someone help me with modifying this file | eamani_sun | Shell Programming and Scripting | 2 | 05-22-2008 01:15 PM |
| Modifying a csv file from Shell Script | not4google | Shell Programming and Scripting | 2 | 11-21-2006 06:47 AM |
| Modifying the final output file | charbel | Shell Programming and Scripting | 5 | 10-10-2006 01:36 PM |
| UNIX Start-up file location | daveo61 | UNIX for Dummies Questions & Answers | 3 | 07-22-2002 08:35 AM |
| Modifying IP Address/Gateway/Subnet in SCO Unix | PBNOSGT | UNIX for Dummies Questions & Answers | 12 | 01-07-2002 12:31 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Modifying the URL to point to another location in a .sh UNIX file
Hello,
I wanted to know how I could change my UNIX script to point to a URL location different from what I had specified earlier. For instance, in my shell script, I want to change the parameter for SMGR. Currently, SMGR = http://192.168.32.160:8084/Simmanr6 should be changed to SMGR = http://192.168.32.120:8081/SimPortal How should I do this? Do I just edit the contents of the file and change it manually or is there a script that needs to be written? Please let me know ASAP. Thx. |
|
||||
|
URL Modification!
This method that you suggested should be done from the UNIX command prompt, correct? I did try to edit in the vi editor, but the test failed to launch for our application. Let me know if you have further suggestions.
|
|
|||||
|
yes, the two commands were for unix command prompt
when you use vi editor, what failed to launch ? I dont get it. what are the errors. after editing in vi editor, did you save the file, can you run the command grep '^SMGR =' filename and let me know what you see? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|