You are not logged in.
someone may find this useful. I was working with fortune-mod. I put the fortune-mod call into my .bashrc, so that every time I create a new shell, i get a new futurama quote. 8)
Anway, it was screwing up my scp activities, because it was generating output.
So, to avoid this, use the following in your .bashrc
if [ "$PS1" ]; then
/usr/bin/fortune futurama
fi
similarly, if you want any textual output to appear everytime you create a shell, make sure to put it between the above if and fi.
of course, make sure you put this BEFORE you set your shell to something nice like:
PS1="\[\033[01;31m\](\[\033[00;37m\]\u@\h \W\[\033[01;31m\])\[\033[00m\]\$ "
hope this helps someone. It took me a little while to figure out what was going on. [/code]
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I wasn't looking for this but now that i've found it it's great!
Cheers!
Offline