Ibomcha Thokchom wrote:
> 
> Dear friends,
> 
> I am using RedHat 6.2 and due to power fluctuations
> some of the files are corrupted. How do I replace
> them?
> 
> Say, 'ls' command is missing in /bin and I want to
> replace it with a non corrupted one. How do I replace
> 'ls' and where can I get it?
> 

[itsme@mycomp mahantesh]$ ldd /bin/ls
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x40021000)
        libc.so.6 => /lib/libc.so.6 (0x40025000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[itsme@mycomp mahantesh]$

That means ls depends upon all the listed files above.
Locate those files and replace working copy from uncorrupted system.
Of course, try replacing only /bin/ls only first( I am assuming above
files also are corrupted)
If that gives error do the above.

If I am wrong please someone correct me.

Thanks.
Mahantesh.

----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to