Dedicated Servers
Managed Dedicated Servers
Semi-Dedicated Hosting
Cheap Dedicated Servers
Hyper-V VPS Hosting
Hyper-V Virtual Private Servers
Linux VPS Hosting
VPS Hosting with Root Access
Windows VPS Hosting
Windows VPS Web Hosting
Reseller Hosting
Reseller Hosting India
cPanel Shared Hosting
Linux Shared Web Hosting
Windows Hosting
Windows Shared Web Hosting
Web Hosting Blog
Web Hosting Blog India
Hosting Knowledgebase
Web Hosting Knowledgebase




  #1 (permalink)  
Old 10-10-2006, 07:58 AM
Junior Member
 
Join Date: Aug 2006
Posts: 5
Default Replace Command.

Below is solution to replace Specific word.

Suppose we have to replace word "four " by "three".

root@root [~]# cat file
one two four
one two four
one two four
one two four
one two four
root@root [~]# replace four three -- file
file converted
root@root [~]# cat file
one two three
one two three
one two three
one two three
one two three

And the word four get replaced by three.

Regards
Sagar.
Reply With Quote
  #2 (permalink)  
Old 07-31-2008, 08:36 PM
Member
 
Join Date: May 2005
Posts: 44
Default

Hi

The replace command provided by Sagar is really helpful while replacing ip address and hacked contents of particular site.

Thanks sagar... keep it up
__________________
Regards,
Tukaram
System Admin
Host.co.in
Reply With Quote
  #3 (permalink)  
Old 01-07-2011, 12:15 PM
Banned
 
Join Date: Jan 2011
Posts: 5
Default

Replaces files in the destination directory with files in the source directory that have the same name. You can also use replace to add unique file names to the destination directory.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 02:20 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0