next message in archive
no next message in thread
previous message in archive
Index of Subjects
Just browsing the Debian FAQ and thought I'd share these items. (I wondered if debian had an equivalent to whereis or which) 5.5. Where is 'which'? This is a historical question, no longer relevant, but is included with this FAQ because it may still hold the record as the single most frequently asked question on the Debian mailing lists. The functionality of the Berkeley utility which is provided in the Bash shell by the built-in command type. To learn the path name for an executable file foo, use the command type foo. To learn all the paths where foo can be found, use type -a foo. To accommodate users' lack of familiarity with this (in this writer's opinion, obscure) feature of Bash, the Debian maintainers have built a package called debianutils, which includes a Bash script called which. This script includes only these lines: #!/bin/bash for i in $*; do type -all -path $i | head -1 done The debianutils package is normally stored in the base section of the FTP archive, and is therefore part of the initial installation of every Debian system. 5.11. How does Debian support non-English languages? o Debian GNU/Linux is distributed with keymaps for nearly two dozen keyboards, and with utilities (in the kbd package) to install, view, and modify the tables. The installation prompts the user to specify the keyboard he will use. o Support for French-, German-, Italian- and Spanish-language manual pages is provided through the manpages-fr, manpages-de, manpages-it and manpages-es packages. To access an NLS manual page, the user must set LC_MESSAGES to the appropriate string. In the case of the German-language manual pages, LC_MESSAGES must be set to 'de_DE'. The man program will then search for German manual pages under /usr/man/de_DE/. -- David Murdoch djm@duncan.alt.ns.ca Halifax, Nova Scotia, Canada <"http://www.chebucto.ns.ca/~djm">DJM</a>
next message in archive
no next message in thread
previous message in archive
Index of Subjects