Activities

August 2020
M T W T F S S
« Apr    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

VI command for find and replace

Hello,

This is most suitable commands which help us to replace the string with our occurrence. This is the same feature of “Find and replace ” in windows 🙂

open the file to be edit $ vi strings.txt a. then press “Esc” :%s/find-string/replace-string/g Then press enter then press Esc key and “ZZ” key to […]

RHCE Notes

########### Yum ####################

Red Hat Package Manager(RPM): —————————– To install an rpm package, issue #rpm -i <package.rpm>

To erase an rpm, issue #rpm -e <package_name>

#rpm -i ypserv-2.19-3.i386.rpm This will install the ypserv utility on to your machine!

If we want to delete the ypserv package, we need to issue only the package name. #rpm […]