×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / Anyone know how to redirect man command output to a text file in unix.
    e.g.

    % man ls
    you see ls command's manual
    % man ls > aaa
    you get file aaa with lots of control characters in it.

    What command can give a pure text output of command ls's manual?

    THX
    • man ls | col -b > ls.text
      • Cool, Thx.
        • and rainning too...hoho...u r welcome...
      • test