Linux Commands Examples

A great documentation place for Linux commands


Expanding kpsewhich to separately iterate over each texmf tree listed in $TEXMF.

see also : kpsewhich


kpsewhere [ kpsewhich-OPTIONS... ] COMMAND

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


kpsewhere is an extension to kpsewhich (as where is for which in tcsh). The intention is to provide a way to check for conflicts/shadowed files. It will, however, only find one file per TEXMF tree.



show a short help message


all other options are directly handed to kpsewhich


None known, but report any bugs found to <tetex[:at:]dbs[:dot:]> (mailing list).

see also


Kpathsea: A library for path searching (info or DVI file)

Web page: <>


kpsewhere was written by Hans Fredrik Nordhaug <hans.fredrik[:at:]nordhaug[:dot:]no>, additions by Thomas Esser <te[:at:]dbs[:dot:]>, in 2003 and 2004. kpsewhere is in the public domain.

This manual page was written by Frank Küster <frank[:at:]kuesterei[:dot:]ch>, for the Debian GNU/Linux system. It is also in the public domain and may be used and changed by others without contacting the author. Any mistakes or omissions in the manual page are my fault; inquiries about or corrections to this manual page should be directed to me (and not to the primary author).

How can this site be more helpful to YOU ?

give  feedback