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

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



在 Wednesday 23 April 2008 11:23:51,wolfman.wu 写道:
> 1. 我已经把 dictionaries-common 及 dictionaries-common-dev 这两个包全都装上去了。
>
>
> 2. 执行了 dpkg -S /usr/share/dict/words 后,显示:
>
>       dictionaries-common: /usr/share/dict/words
>
>    但那个文件依然为空, 它所链接的文件也不存在(/etc/dictionaries-common/words)

连接一个接一个啊。下面我查找的过程,自己看吧,呵呵。

$ dpkg -S /usr/share/dict/words.pre-dictionaries-common
dictionaries-common 导致转移自:/usr/share/dict/words
dictionaries-common 导致转移至:/usr/share/dict/words.pre-dictionaries-common

$ ls -l /usr/share/dict/words.pre-dictionaries-common
lrwxrwxrwx 1 root root 30 03-09 
07:48 /usr/share/dict/words.pre-dictionaries-common -> /etc/dictionaries-common/words

$ ls -l /usr/share/dict/words
lrwxrwxrwx 1 root root 30 04-10 
21:38 /usr/share/dict/words -> /etc/dictionaries-common/words

$ ls -l /etc/dictionaries-common/words
lrwxrwxrwx 1 root root 32 04-10 
21:41 /etc/dictionaries-common/words -> /usr/share/dict/american-english

$ ls -l /usr/share/dict/american-english
-rw-r--r-- 1 root root 910K 2007-08-21 /usr/share/dict/american-english

$ dpkg -S /usr/share/dict/american-english
wamerican: /usr/share/dict/american-english


-- 
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: