DISQUS

DISQUS Hello! Richard's Linux and E-learning blog is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

5 ways to make using bash more productive

Started by Richard Bradshaw · 9 months ago

If you are using Linux or a Mac these days, then you likely have bash as your default shell. It generally comes with a few nice features (tab-completion, history etc.), but there are a few tips and tricks which will make it much nicer to use. Here’s a run down of my favou ... Continue reading »

9 comments

  • Marvelous! Clear, helpful, & just what I was trying to remember.
  • Thanks - good to know I'm helping people out!
  • Thank you very much
    It's helping me so much
  • Nice. I love the ignore dups.

    This will be my first shot at editing ~/.bashrc, but I think I'm ready for it.
  • Great tips -- I've been using bash for years, and always learn new ways to make it work better.
  • Nice list. I long ago created a BASH alias (maybe you should add a note about those) to do the history search:
    alias hs='history | grep -i' in .bash_aliases.
    Now i can search history like this "hs <command>".
  • Hey any chance you might post a followup to this with a full sample .bashrc? I haven't found one I really like yet and would love to see more examples.

    Thanks!
  • very helpful article
  • You may add color to your shell , configure aliases , configure autorun bash logon scripts ,you can search through the history using ^r , you can type !! to be automatically replaced by the last command you entered ... there is a ton of ways :-)

Add New Comment

Returning? Login