I just did man [ and it opened the manual.
Then I tried doing man > but I get this error:
-bash: syntax error near unexpected token `newline'
How is > different from [?
I just did man [ and it opened the manual.
Then I tried doing man > but I get this error:
-bash: syntax error near unexpected token `newline'
How is > different from [?
As you have seen, the command man > will invoke redirection rather than give you a man page for it.
Since > is a shell operator, you need to go to the man page for your shell, for example if you run bash you can use man bash and look for the section on 'REDIRECTION'. All the shell redirection operators will be listed there; they don't have their own man pages.