Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Documentation for Bash

  1. #1
    Join Date
    Dec 2008
    Location
    Montana, USA
    Posts
    550

    Default Documentation for Bash

    I know I can do man bash

    but

    is there a place where I can obtain this information in a "pretty" format that I can print and use as a reference? Redirecting man output to the printer is not readily readable, at least for me.

    Bart

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Documentation for Bash

    Why don't you redirect it to a file that you can format in a text editor? You can also find most man pages aon the Web.

  3. #3
    Join Date
    Dec 2008
    Location
    Montana, USA
    Posts
    550

    Default Re: Documentation for Bash

    I considered reformatting, but have you any idea how many days that would take me?

    I just know I would be nit picking with font sizes and spacing to get everything in exactly the "right" place and on the "right" page and with a document that size, I'd never get done.

    So, I took another look and found Bash Reference Manual

    Looks like opening it up on screen2 and going back and forth should work. It would certainly take a bunch of paper to print!

    Now... How come one can never find the stuff they want without first asking and then it pops right up? I think my computer just wants to embarrass me. Or should this be a new thread?

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Documentation for Bash

    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Documentation for Bash

    i don't know about your version of openSUSE, but on my version it
    included a bash manual by default, here:

    file:///usr/share/doc/packages/bash/bashref.html

    far as i can tell it is pretty much ready to print..
    but you have to kill a lot of trees..

    this one is more extensive: http://tldp.org/LDP/Bash-Beginners-Guide/html/

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  6. #6
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Documentation for Bash

    Quote Originally Posted by montana_suse_user View Post
    I know I can do man bash

    but

    is there a place where I can obtain this information in a "pretty" format that I can print and use as a reference? Redirecting man output to the printer is not readily readable, at least for me.

    Bart
    You can get book quality output like this:

    man -Tps bash > bash.ps
    ps2pdf bash.ps bash.pdf

  7. #7
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,061

    Default Re: Documentation for Bash

    Another hint: Konqueror will show manuals in a nicely formatted way when typing 'man:$command' in the address bar.

  8. #8
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Documentation for Bash

    gropiuskalle
    Another hint: Konqueror will show manuals in a nicely formatted way when typing 'man:$command' in the address bar.
    That is kind of cool there gropiuskalle. I was kind of thrown by the $ dollar sign as it does not seem to be required. For the terminal command 'man bash' it would be man:bash in Konqueror. Anyone who does not have Konqueror as a filemanager can use the kde menu run command:

    kfmclient openProfile filemanagement man:bash

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  9. #9
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,061

    Default Re: Documentation for Bash

    Quote Originally Posted by jdmcdaniel3
    I was kind of thrown by the $ dollar sign as it does not seem to be required.
    No, it was not meant as an actual '$'. In unixoid shells, Perl, PHP, Ruby etc. '$' is used as a prefix for a variable. I use it often, for example '$user', '$application', '$desktop_enviroment' or whatever. It's pretty common actually.

    Anyway, nice to know I showed you something new. :-)

  10. #10
    Join Date
    Dec 2008
    Location
    Montana, USA
    Posts
    550

    Default Re: Documentation for Bash

    Holy cow! I hit the jackpot! Thanks to you all. I'll be busy, and happy, for quite some time now.

    Bart

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •