Firefox lock file?

Smoot Carl-Mitchell smoot at tic.com
Fri Feb 13 21:11:34 UTC 2009


On Fri, 2009-02-13 at 06:58 -0800, Ray Parrish wrote:

>  sudo grep -F "Firefox is already" -r -H --devices=skip 
> --exclude-dir='\(/media\)' | '\(/proc\)' | '\(/home/ray/.wine\)' /

--exclude-dir uses GLOB expressions which are different than REs.  You
can have multiple --exclude-dir directives, however.  The name matching
is recursive, so the above is a little tricky to handle.  Something like
this gets you close, however.

sudo grep "Firefox is already" -r -H --devices=skip --exclude-dir=media --exclude-dir=proc  --exclude-dir .wine /

This will exclude any directory at an level whose name is "media", "proc" or ".wine".

I am not sure why you are doing this, unless you think the lockfile contains the message.
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list