[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 一些 *nix 书提到 /usr/dict/words 这个文件,对应 debian 的哪个目录下?



在 Wednesday 23 April 2008 09:23:25,wolfman.wu 写道:
> 《实战Samba》里提到 samba 的命名是用:
> grep -i 's.*m.*b' /usr/dict/words
> 得到的。
>
> 在我的 etch 用 locate 找到一个比较接近的 /usr/share/dict/words, 但里面什么都没有。
>
> 是不是要安装什么包才会有?
>
> 谢谢!

应该就是 /usr/share/dict/words。运行上面这条命令我确实看到了 samba。:-)
经过查找,这个文件来自于 dictionaries-common 软件包。
$ dpkg -S /usr/share/dict/words
dictionaries-common 导致转移自:/usr/share/dict/words
dictionaries-common 导致转移至:/usr/share/dict/words.pre-dictionaries-common
dictionaries-common: /usr/share/dict/words

敬礼!
yhlfh

-- 
Life's like a box of chocolates, you never know what you're going to get.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: