Timeline for How can I source the bashrc file every time I 'clear'
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 3, 2012 at 16:29 | comment | added | cjm | @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. | |
| Feb 3, 2012 at 14:58 | comment | added | glenn jackman | an alternative to \clear is command clear | |
| Feb 3, 2012 at 14:29 | comment | added | CaldwellYSR | @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. | |
| Feb 3, 2012 at 7:29 | comment | added | cjm | 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. | |
| Feb 3, 2012 at 7:25 | history | edited | cjm | CC BY-SA 3.0 | missing close quote |
| Feb 3, 2012 at 6:30 | vote | accept | CaldwellYSR | ||
| Feb 3, 2012 at 6:16 | comment | added | CaldwellYSR | Ah great, I knew it would be something simple like that! | |
| Feb 3, 2012 at 6:07 | history | answered | Daniel Pittman | CC BY-SA 3.0 |