命令行实用技巧与I/O重定向全解析
1. 查找命令文档的方法
在使用命令行时,了解如何查找命令的相关文档至关重要。以下介绍几种查找命令文档的方法:
- apropos :可以根据搜索词在手册页列表中查找可能匹配的内容。虽然这种方法比较粗略,但有时很有帮助。例如,使用搜索词 partition 查找手册页:
[me@linuxbox ~]$ apropos partition
addpart (8) - simple wrapper around the "add partition" ioctl
all-swaps (7) - event signalling that all swap partitions have been ac...
cfdisk (8) - display or manipulate disk partition table
cgdisk (8) - Curses-based GUID partition table (GPT) manipulator
delpart (8) - simple wrapper around the "del partition" ioctl
fdisk (8) - manipulate disk partition table
fixparts (8) - MBR partition table repair utility
gdisk (8) - Inter
超级会员免费看
订阅专栏 解锁全文
6

被折叠的 条评论
为什么被折叠?



