How to replace words in a file

semco

Verified User
Joined
Jan 9, 2009
Messages
6
In one of my files in my server I have to replace one word with another. How do i do this, cpanel had the tool to do this. In directadmin i don't see it, the file is to big and that word is multiple places i don't want to miss any words because that is important for setting of installation.


thanks
 
DirectAdmin is a HostingPanel, not text editor.

Code:
perl -pi -e 's/^OrigWord/ChangedWord/' filename
Don't understand code above?
Then download file fo you computer and use ANY text editor.
 
DirectAdmin is a HostingPanel, not text editor.

DirectAdmin is a HostingPanel, not text editor.

Also Cpanel is a Hosting Panel and they support text editor

Is good to have extra tools around competitions

Thanks.
 
Back
Top