swapnil kamble
2005-12-26 10:14:22 UTC
Hi,
I made an application in GTK+ . I created its binariy . Copied it to /bin which will create my own command , which also mean that command gets executed from path /bin . And as and when I removed binary from /bin command gets vanished that`s fine . But if I want to delete built in command then I removed its binary from same path /bin and command remains still there perfectly working .
For example ,
#rm /bin/ls
#ls
home bin var tmp usr ....
To more fun to it if I removed all code and pasted code of other file it works as other command
For example
#vi /bin/ls
then remove all line of binary code
#vi /bin/pwd
then copy all binary code of pwd
again
#vi /bin/ls
paste copied code
now command ls will act as pwd
How it is possible ?
...Swapnil
---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
I made an application in GTK+ . I created its binariy . Copied it to /bin which will create my own command , which also mean that command gets executed from path /bin . And as and when I removed binary from /bin command gets vanished that`s fine . But if I want to delete built in command then I removed its binary from same path /bin and command remains still there perfectly working .
For example ,
#rm /bin/ls
#ls
home bin var tmp usr ....
To more fun to it if I removed all code and pasted code of other file it works as other command
For example
#vi /bin/ls
then remove all line of binary code
#vi /bin/pwd
then copy all binary code of pwd
again
#vi /bin/ls
paste copied code
now command ls will act as pwd
How it is possible ?
...Swapnil
---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.