命令:
#man -t 命令 | ps2pdf -> man_ping.pdf
[root@localhost ~]# man -t ping | ps2pdf -> man_ping.pdf
[root@localhost ~]# ll
总计 88
-rw------- 1 root root 1345 07-21 23:32 anaconda-ks.cfg
drwxr-xr-x 3 root root 4096 09-03 17:48 Desktop
-rw-r--r-- 1 root root 34970 07-21 23:32 install.log
-rw-r--r-- 1 root root 5724 07-21 23:29 install.log.syslog
-rw-r--r-- 1 root root 16009 09-08 00:29 man_ping.pdf
-rw-r--r-- 1 root root 5077 09-08 00:27 man_sort.pdf
转载于:https://blog.51cto.com/zhongsuiyong/388567