Friday, March 24, 2017

Re: [LINUX_Newbies] rm -f

 

On Fri, Mar 24, 2017 at 2:44 PM, Scott scottro@nyc.rr.com
[LINUX_Newbies] <LINUX_Newbies@yahoogroups.com> wrote:
> On Fri, Mar 24, 2017 at 07:11:01PM +0100, 'highskywhy@yahoo.de' highskywhy@yahoo.de [LINUX_Newbies] wrote:
>> the problem is NOT
>>
>> system files
>>
>> we wanna delete in win and libnux HTM files.
>>
>> RM brings the message: file is in use
>
> Then you have to figure out what is using it and temporarily stop the
> process. ps -aux|grep -i htm might help.

lsof is also your friend:

bladernr@galactica:/tmp$ tail -f testfile &
[1] 7731
bladernr@galactica:/tmp$ 1,2,3

bladernr@galactica:/tmp$ lsof |grep testfile
tail 7731 bladernr 3r REG
8,2 6 4068243 /tmp/testfile

shows that testfile is currently opened by tail.

__._,_.___

Posted by: J <dreadpiratejeff@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (25)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.

.

__,_._,___

No comments:

Post a Comment