strace can monitor only one single processes not all, lsof is not a good way too, it's not a real time tool, maybe I need a real time version of lsof? How to list all the processes which have accessed a particular file?
Is there any way in unix to find out who accessed certain file in last 1 week? It may be user or some script ftp it to some other place. Can I get a list of user name who accessed certain file? How can I find out who is accessing particular file??
How do you mass-delete emails in iOS Mail? I don't know if this is documented anywhere, but just to bring it to current attention… Is there any matrix $2\times 2$ such that $A\neq I$ but $ A^3=I$? Is there any $2 \times 2$ matrix $A \neq I$ such that $A^3=I$?  In my opinion: no. Thank you very much. showing a collection of sets contain all closed sets Let $X$ be infinite set and $a \in X $. Let $$\mathscr{F} = \{ A \subset X: |A| \; \; finite \; \;, a \notin A \}$$  Then $\mathscr{F}$ is the set all of all closed sets for some topology $\mathcal{T} $ on $X$. Also, any two continuous maps $f,g: (X, \mathscr{T}) \to Y$ ( $Y$ is metric space) have the property that if $f(b) = g(b)$ for all $b \neq a $, then $f(a) = g(a)$.  In my notes my professor posted this theorem without proof, so I was wondering what is best way to proof this theorem. Cancel/kill window.setTimeout() before it happens I have a few places where I use the line below to clear out a status, for example.  I have a few of these that hang out for 10 seconds or more and if the user gets clicking around the action can occur at incorrect time intervals.  window.setTimeout(function() { removeStatusIndicator(); }, statusTimeout);   Is it possible to cancel or kill this with some jQuery or JavaScript code, so I don't have this process hanging around? I wonder about the foundations of set theory and my question can be stated in some related forms:   If we base Zermelo–Fraenkel set theory on first order logic, does that mean first order logic is not allowed to contain the notion of sets? The axioms of Zermelo–Fraenkel set theory seem to already expect the notion of a set to be defined. Is there are pre-definition of what we are dealing with? And where? In set theory, if a function is defined as a set using tuples, why or how does first order logic and the axioms of Zermelo–Fraenkel set theory contain parameter dependend properties $\psi(u_1,u_2,q,...)$, which basically are functions? Is there to make the login screen appear on the external display in 18.04? On Ubuntu 18.04, I have connected my laptop to an external display and I am able to set the external display as primary and external display only mode. But when I turn on my laptop or log out from my session the display login screen is displayed only on my(internal) laptop screen. But once I login the display switches to external only and my laptop screen turns off as expected. Is there a way I can make the login screen appear only on the external screen on bootup or on logout as in 16.04? Also the login screen does not follow my cursor as in 16.04. Installation problem QGIS I do not manage to install QGIS on my windows 10 machine using the osgeo4w installer.  During the installation I get this message:   At the end of the installation I get this message:   And when I subsequently try to run QGIS, I receive this message:    Similar issue can be found in various fora, but none of them provides a conluding answer or did help me to solve the problem.  Any propositions? This is a follow-up to .  Suppose you want to denote vectors by upright bold letters; then \mathbf{u} works fine, except that if it's a Greek letter you have to use \boldsymbol{\omega} instead.  Question: Is it possible to define a generic vector command in LaTeX which automatically chooses between \mathbf and \boldsymbol, so that one can write just \vect{u} and \vect{\omega} without having to treat the Greek symbols specially by hand?  (Just to be clear: \newcommand{\vect}[1]{\boldsymbol{#1}} is no good in this situation, since \boldsymbol{u} gives bold italic instead of roman.) How do I avoid the "S to Skip" message on boot? Exclude menu item from the collapse of bootstrap 3 navbar How do filament LED bulbs work, looking very similar to incandescent bulbs? Filament LED bulbs use very narrow strips containing the LED, which look similar to filaments of an old incandescent bulb:  They look like a normal bulb with large "old-style" coal filaments, and are of about the same size and shape as the common standart E27 socket bulb.    There are two basic variants of these bulbs:     One "plain" as described, looking impressively similar to a classic bulb The other has a white coating on the glass, about 15mm wide next to the metal socket.   How are these filaments build? I could imagine the it's "pretty normal" LEDs, but lots of them, directly bonded to something? (There are references to COB)  How does the heat management work? Ii have seen speculations about filling the bulb with either helium or "some patented organic gas" - could that be enough for cooling?  How does the driver - which seems to be very small - work?  In the variant with white coating - hiding some components, I assume - is already not that much space, and in the plain variant, there seems to be almost no space for something nontrivial.  Below you see some bulbs of the white coating variant, switched on:   (Images with the permission of this )    Note how the LED filament bulbs are not so much similar to the tungsten filament bulbs recently being phased out - they are more resembling the long outdated carbon filament bulbs: I am trying to write a script that will delete all comments and everything in between inside C files in my current directory. I've been using sed, and this is what I have so far:   sed -i '/ * [^()] */d' *.c  This works when the comments are on the same line as an asterisk or backslash.   However it doesn't work when there is a commented line without a slash or asterisk.   I know sed goes line by line, I just don't know how to tell it to keep deleting until it sees a */. What is the term for a sentence which reads same forwards and backwards? Please note, I'm not asking for a palindrome.  I mean to say that only the word  order is rearranged, not the actual spelling of the word.  An example might be as follows:     First ladies rule the State and state the rule: ladies first. Moment generating function of the inner product of two gaussian random vectors Can anybody please suggest how I can compute the moment generating function of the inner product of two Gaussian random vectors, each distributed as $\mathcal N(0,\sigma^2)$, independent of each other? Is there some standard result available for this? Any pointer is highly appreciated. For starters I am using this GREAT answer to achieve custom post types as well as a custom way to insert those post types into other pages, you can view that answer here:   I am running into a problem however when wordpress auto saves itself, it clears whatever metadata i have put into the forms.  EXAMPLE:  I select the 3 drop downs I want from my metabox and hit update.  The page reloads and the 3 choices are still selected.  In phpMyAdmin i can look up the metadata and see the array in place as it should be.  I now wait for wordpress to auto save.  As soon as this happens i can either refresh the page (not update, just refresh) and the metadata is lost, or i can look up the metadata in phpMyAdmin and it will display nothing (ie: its gone).  I'm guessing that this has something to do with needing to tie into another hook (some sorta auto update hook) or something, but even then it doesn't make sense that it would actually delete your metadata (rather than just not auto updating it).  Last note: If you copy and paste Mikes code into functions.php, you should be able to recreate my error (in wordpress 3.1) very easy. Correct way of mounting a Windows share I mounted a Windows share to my Ubuntu 11.10 system via adding the following line to the /etc/fstab:  //serveraddr/sharedfolder /mnt/foldername/ smbfs credentials=/home/myname/.smbpasswd 0 0  using the .  But there's a problem with the permissions. The owner of the mount folder is root. I can not create any folders or files in the mounted point is I don't become the root. Even I can not change the ownership to my default user via   sudo chown -R myname .  I googled and saw that it might stem from the fact that Windows file formats (fat32/ntfs) can not save ownership. But when I connect to the same location via samba as   smb://serveraddr/sharedfolder  by providing my credentials, I have the privileges to write without being the root.  How can I make it to let me write to the mounted folder? Eeeeek - what happened to my @ salutation? What is the right way to get the current users profile in an apex class?  When I tried to print the following in visualforce page,  i am able to get the profile name  &lt;apex:outputText value="{!$Profile.Name}"/&gt;    But when i tried to print in the Apex class using System.debug(Profile.Name), I couldn't. SQL Server - copy stored procedures from one db to another I saw a lot of times claims that they have to be exhaustive (the examples in such books were always set in such way, that they were indeed), on the other hand I also saw a lot of times books stating they should be exclusive (for example $\mathrm{H}_{0}$ as $\mu_1=\mu_2$ and $\mathrm{H}_{1}$ as $\mu_1&gt;\mu_2$) without clarifying the exhaustive issue. Only before typing in this question I found somewhat stronger statement on the  -- "The alternative need not be the logical negation of the null hypothesis".  Could someone more experienced explain which is true, and I would be grateful for shedding some light on the (historical?) reasons for such difference (the books were written by statisticians after all, i.e. scientists, not philosophers).