Hiiiii frnds
Today i face a little bit problem During my training session.
One of LIC system admin rename its shell script file with control
character by mistake
from feapserver into feapclient but he has backup/original file on
server so he download this
file again and rename on his system with feapclient but he face the
problem with last one file
which he renamed with control character. the pro.... which he face
this file cant remove from
system with rm -rf command. after all he called me but i also made
fooled by system
but just 10 minutes ago i got solution from google and i am very
thankful to google..
he has super duper power then the problem is with technolgy marketing etc etc
now i m going to share this problem with you.
LIC system admin face following problem on rhel4
he download a file from server feapserver
and accidently!!!! rename it in to with follwoing comand
[root@EDMS]# mv feapserver \ "feapclient*
after this he cant able to remove this file from system
but i give him solution to delete this file from system with inode no
with foolwoing command
[root@rhel6]# ls -i [filename]
suppose this cmd give inode no of 15698
[root@rhel6] find . -inum 15698 -exec rm -i {} \;
this comand easily remove file with inode no
you can also use this cmd with normal file
link where i got solution against this problem
http://www.cyberciti.biz/tips/delete-remove-files-with-inode-number.html
--
Thanks $ Regards
Bharat Raj (RHCE MCP)
+919888517373
~~Open-Source~~