You can answer this Unix Command Interview question by using SED command in UNIX for example we can execute sed s/Unix/UNIX/g fileName.