Saturday, May 28, 2011

fuser, alternative for Windows application Unlocker

fuser displays the PIDs of processes using the specified files or file systems.For example if you have a locked file named foo.txt on /home/user/,the you would type:


fuser /home/user/foo.txt


The command displays some numbers.Its the pid of process using the file.Now as a root type:


kill <pid>
or
sudo kill <pid>



without the redirectors.Linux has everything you wish for.

0 comments:

Post a Comment