man -f/-k [keyword]在fedora 29 中报错nothing appropriate

我们在使用 man 手册的时候,可以使用man -f [keyword]去查询keyword的在线文档,
但是这时候会报错:(图来源自网络)

这是因为我们还没有建立 man 手册的索引缓存;

我们可以使用 mandb 进行更新;之后就能使用 man -f 或者 man -k 命令进行查找手册;

[root@localhost tmp]# man -k aio
aio (7)              - POSIX asynchronous I/O overview
aio.h (0p)           - asynchronous input and output
aio_cancel (3)       - cancel an outstanding asynchronous I/O request
aio_cancel (3p)      - cancel an asynchronous I/O request
aio_error (3)        - get error status of asynchronous I/O operation
aio_error (3p)       - retrieve errors status for an asynchronous I/O operation
aio_fsync (3)        - asynchronous file synchronization
aio_fsync (3p)       - asynchronous file synchronization
aio_init (3)         - asynchronous I/O initialization
aio_read (3)         - asynchronous read
aio_read (3p)        - asynchronous read from a file
aio_return (3)       - get return status of asynchronous I/O operation
aio_return (3p)      - retrieve return status of an asynchronous I/O operation
aio_suspend (3)      - wait for asynchronous I/O operation or timeout
aio_suspend (3p)     - wait for an asynchronous I/O request
aio_write (3)        - asynchronous write
aio_write (3p)       - asynchronous write to a file

资源来源自网络,保持更新。

posted @ 2019-04-09 23:03  "Michael_Xu"  阅读(333)  评论(0编辑  收藏  举报