Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I installed PasswordSafe 0.93 beta by downloading its deb-package from SourceForge and have it taken care of using Ubuntu Software Center.

Now PasswordSafe asks me every time what psafe3-file to load instead of offering me a default one - as it used to be with the Windows version of it. So I thought about having a look at PasswordSafe and its (probably existing) config files and see if I can edit them appropriately. But this endeavour fails at locating the program and its related stuff.

How do I go about finding it?

share|improve this question

marked as duplicate by karel, minerz029, Luis Alvarado Jul 24 '14 at 21:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

actually it is - I tried which/whereis before but failed because I didn't know what is the cmd for PasswordSafe (pwsafe) - then stumbled up on it just now ... – Raffael Feb 15 '14 at 14:45
try with the locate command in terminal, like so: locate PasswordSafe – v2r Feb 15 '14 at 14:51
@v2r: doesn't seem to work in this case – Raffael Feb 15 '14 at 14:55
Ok then. I see Olupot Douglas answer worked out well (: – v2r Feb 15 '14 at 15:14
up vote 4 down vote accepted

you open terminal and type these

  which <program_name>


  whereis <program_name>

alternatively use this command

 dpkg -L 'packagename'

will display the path to the the files

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.