Man
查找手冊頁的內容
我可以找到手冊頁的內容嗎?
man bash
差不多有 6000 行長,我想知道頁面中的部分標題。
如果您只想要部分標題,
grep
請為他們。它們在 ALLCAPS 中並且是唯一沒有前導空格的行:$ man bash | grep '^[A-Z]' BASH(1) General Commands Manual BASH(1) NAME SYNOPSIS COPYRIGHT DESCRIPTION OPTIONS ARGUMENTS INVOCATION DEFINITIONS RESERVED WORDS SHELL GRAMMAR COMMENTS QUOTING PARAMETERS EXPANSION REDIRECTION ALIASES FUNCTIONS ARITHMETIC EVALUATION CONDITIONAL EXPRESSIONS SIMPLE COMMAND EXPANSION COMMAND EXECUTION COMMAND EXECUTION ENVIRONMENT ENVIRONMENT EXIT STATUS SIGNALS JOB CONTROL PROMPTING READLINE HISTORY HISTORY EXPANSION SHELL BUILTIN COMMANDS RESTRICTED SHELL SEE ALSO FILES AUTHORS BUG REPORTS BUGS GNU Bash 4.3 2014 February 2 BASH(1)