|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi Folks, I have one query is that I can reach to a location of a file named Integration_Config_3.properties through putty Code:
cd /usr/local/pos/jlan/config/byStore/il Code:
ls -ltr I can open this file in vi editior also Code:
vi Integration_Config_3.properties But now my query is I want to add the below context in this properties file HTML Code:
Socket_PrimaryHost=possrv UTFSocket_PrimaryPort=22009 UTFSocket_SecondaryHost=loyal UTFSocket_SecondaryPort=22009 UTFSocket_ReconnectTimer=30000 UTFSocket_FailBackTimer=1000 UTFSocket_FailOverTimer=1000 UTFSocket_ConnectionCheck=60000 UTFSocket_HandshakeInterval=300000 How can I add the following context while the file is being opened in Vi itself, Please advise |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Is that "context" in some file on that server?
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Yeah this file is on server and I reach to this location through putty.
|
|
#4
|
||||
|
||||
|
You can put contents of "context" file using vi like this: Code:
:r /path/to/context_file |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Context Sensitive smallcap => TitleCap conversion in an entire text file | monkeyman | Shell Programming and Scripting | 6 | 01-17-2011 09:37 AM |
| Splitting a file based on context. | webkid | Shell Programming and Scripting | 8 | 12-03-2010 07:23 PM |
| grep help after context | dips_ag | Shell Programming and Scripting | 6 | 05-10-2010 06:30 AM |
| keep context in awk | VTAWKVT | Shell Programming and Scripting | 2 | 05-23-2008 02:06 PM |
| Context Switching | keelba | UNIX for Advanced & Expert Users | 2 | 11-15-2002 10:26 AM |
|
|