Results 1 to 2 of 2
hi all,
i just want to remove a hidden file . ".nfs......." . so i tried to remove that file with many commands like:
rm *
rm .??*
rm ./*
...
- 11-04-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 6
error : device or resource busy
hi all,
i just want to remove a hidden file . ".nfs......." . so i tried to remove that file with many commands like:
rm *
rm .??*
rm ./*
but every time it giving same error as "device or resource busy". so iam not able to remove that file . i dont how it created.
pls help me out..
thanks
- 11-04-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Some of the error is because * and ./* both return . and .. (or ./. and ./..) which are directories. The wildcard .??* will remove any file of 3 or more characters that follow the dot. However, if one is a directory, it will fail, though with a different error. Anyway, without seeing the actual contents of your directory and the permissions on the directory and its components I cannot speculate further.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote