Reputation
Top tag
Next privilege 100 Rep.
Edit community wikis
Badges
12
Impact
~14k people reached

Nov
19
comment Run script before shutdown/restart
Thanks - can you answer #2 in full a bit more? Turns out writing the init.d script is a cinch, so that was no issue.
Jul
6
comment SSH tput warning/notice (error?)
Got it working properly with: network-theory.co.uk/docs/bashref/IsthisShellInteractive.html
Jul
6
comment SSH tput warning/notice (error?)
You suspect correctly. I'm D'ohing about now. That is indeed the problem. Thanks a ton for your help!
Jul
6
comment SSH tput warning/notice (error?)
Thanks for taking the time to help. The first solution sort of works. No errors, but the output is formatted different and it appends a closed connection message. The second solution unfortunately doesn't work at all. Regardless, I'm looking to fix the source of the problem rather than work around it.
Jul
6
comment SSH tput warning/notice (error?)
Ok, so I guess I suspect this line in my .bashrc to be the culprit: export PS1='\[$LightGreen\][\t] [\u@\H \W]\$ \[$NC\]'. Added this recently, but now it seems when I comment the line out, I gett the same error lines, but they now display after the command output rather than before.
Jun
28
comment Linux: Send mail to external mail box from a server with that user's hostname
@Slartibartfast that is correct. @Flimzy, there's definitely some truth to that and I should look into that.