Raveen Kumar

Errors and bugs

Removing old name: Device or resource busy

https://unix.stackexchange.com/questions/11238/how-to-get-over-device-or-resource-busy

The tool you want is lsof, which stands for list open files.

It has a lot of options, so check the man page, but if you want to see all open files under a directory:

lsof +D /path

That will recurse through the filesystem under /path, so beware doing it on large directory trees.

Once you know which processes have files open, you can exit those apps, or kill them with the kill(1) command.

How to remove ^M character at the end of text files

https://linuxg.net/5-ways-to-remove-the-m-character-at-the-end-of-text-files/#:~:text=5%20Ways%20To%20Remove%20The%20%5EM%20Character%20At,Dos2Unix%3A%20%24%20dos2unix%20filename%20newfilename%20More%20items...%20

#Error #Bug #Notes