Clug 2009 05 Ten Tips For Bash

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Clug 2009 05 Ten Tips For Bash - Presentation Transcript

    1. Paul's ten tips for Bash
    2. Paul's ten tips for Bash
      • Moving around a line Beginning of line - ^A End of line - ^E Back word - esc B Forward word - esc F Clear screen - ^L
    3. Paul's ten tips for Bash
      • Moving around a line
      • Editing a line Delete previous word - esc bksp Delete next word - esc D Delete to end of line - ^K Delete to start of line - ^U Paste the previous delete - ^Y Swap two characters - ^T
    4. Paul's ten tips for Bash
      • Moving around a line
      • Editing a line
      • Tab completion first word - command other words - filename or directory
    5. Paul's ten tips for Bash
      • Moving around a line
      • Editing a line
      • Tab completion
      • Tab completion EVERYWHERE! yum install bash-completion first word - command other words - command dependent arguments
    6. Paul's ten tips for Bash
      • Moving around a line
      • Editing a line
      • Tab completion
      • Tab completion EVERYWHERE!
      • Saving commands for later comment this line out - esc #
    7. Paul's ten tips for Bash
      • Moving around a line
      • Editing a line
      • Tab completion
      • Tab completion EVERYWHERE!
      • Saving commands for later
      • Getting commands from earlier search back through history - ^R text
    8. Paul's ten tips for Bash
      • Moving around a line
      • Editing a line
      • Tab completion
      • Tab completion EVERYWHERE!
      • Saving commands for later
      • Getting commands from earlier
      • Argument iteration x{a,b,c}y - xay xby xcy
    9. Paul's ten tips for Bash
      • Saving commands for later
      • Getting commands from earlier
      • Argument iteration
      • Previous command arguments last argument - esc . or Alt-. Nth argument - !:N !* = last entire last command - !!
    10. Paul's ten tips for Bash
      • Saving commands for later
      • Getting commands from earlier
      • Argument iteration
      • Previous command arguments
      • Substitute into previous command replace 'foo' with 'bar' - ^foo^bar^
    11. Paul's ten tips for Bash
      • Saving commands for later
      • Getting commands from earlier
      • Argument iteration
      • Previous command arguments
      • Substitute into previous command
      • rename rename .jpg.mp3 .mp3 *
    SlideShare Zeitgeist 2009

    + PaulWayPaulWay Nominate

    custom

    440 views, 0 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 440
      • 440 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories