i want to know whats the command i need to use for my unix box to locate and replace text in a given file

your help is appreciated

thanks