If man -t ls | ps2pdf - > ls.pdf is useful for outputting the ls man page via ps2pdf to pdf, what about info pages? I've tried something like the following but with no success: info -o info | ...
I know that these command will help to get syntax and options for commands but my question is that how they differ from each other?
I know when you are in a man page it will display the file name at the bottom inside the man. How can I do the same thing manually?