Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Ah great, I knew it would be something simple like that! Commented Feb 3, 2012 at 6:16
  • 13
    You probably want to do this in the other order, or the clear will erase any output that .bashrc generated. But it's also a bad idea to have .bashrc generate output at all. Commented Feb 3, 2012 at 7:29
  • @cjm Yeah, I realized that this morning about the order. I already had it in the correct order, I just didn't have the ` in front of clear` I'll look at that information about the bashrc and output. Thanks for the link. Commented Feb 3, 2012 at 14:29
  • an alternative to \clear is command clear Commented Feb 3, 2012 at 14:58
  • @CaldwellYSR, the short version is that ssh host command sources .bashrc. If that generates output, it'll confuse any scripts trying to run remote commands on your host & account. You might not be doing that now, but someday you might, and then you'll be confused why it doesn't work. Commented Feb 3, 2012 at 16:29