How to tell which version of a application is running

Xen list at xenhideout.nl
Sun Apr 16 13:04:36 UTC 2017


Chris schreef op 16-04-2017 14:23:

> Question is, which version of tracker is running? Is it 1.6.2 located
> inĀ 

Also as a more direct answer to your question, if the binary is 
currently active (it shows up in ps aux) then

you could do

ps ax -o cmd | grep [t]racker

to find the command-line of the binary (the full path).

or

cat /proc/$(pgrep tracker | head -1)/cmdline; echo

for something more convoluted ;-).




More information about the ubuntu-users mailing list