How to fix virus-infected Grep programs in Linux

Source: Internet
Author: User
Article Title: How to fix virus-infected Grep programs in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source, and other basic classification, General viruses will mainly infect executable files under/bin.
 
After the system is restarted, the system stops booting in init version 2.85.
 
Or when welcome appears, it will tell you that a segment error occurs in a line of/etc/rc. d/rc. sysinit.
 
Solution:
 
Boot with the corresponding boot disc and enter linux rescue at the boot: Prompt
 
When you are prompted to find the previously installed system, select OK.
 
Then run the following command:
 
  
     
      #cd /mnt/source#cp coreutils-4.5.3-26.i386.rpm cpio-2.5-3.i386.rpm gawk-3.1.1-9.i386.rpm grep-2.5.1-16.i386.rpm iputils-20020927-11.i386.rpm mount-2.11y-31.1.1AX.i386.rpm net-tools-1.60-20.i386.rpm rpm-4.2.1-4.6.i386.rpm /mnt/sysimage/#chroot /mnt/sysimage#cd /#rpm -ivh --force rpm-4.2.1-4.6.i386.rpm#for i in *.rpm>do>rpm -ivh --force $i>done
     


 
After installing these rpm packages, You can restart the system.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.