Author Topic: bash-3.00$: to rasputin~$: ?  (Read 14305 times)

0 Members and 1 Guest are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: bash-3.00$: to rasputin~$: ?
« Reply #30 on: September 07, 2006, 10:46:07 pm »
Excuse me for suggesting inefficiency here, but since ~/.cshrc is in your ~ directory, you could edit that for yourself. If I understand correctly, shells have no problem running shells on top of themselves. For example, in bash, you can type csh to run csh. The same principle can be reversed to run bash over csh, no?

Read the rest of the topic.

Yeah, that's almost exactly how he solved the problem, except that he's using "exec" instead of just running it. 

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: bash-3.00$: to rasputin~$: ?
« Reply #31 on: September 08, 2006, 12:32:05 am »
Oh. I replied at the end of page 1, I think. Well, at least that gives me the right to pat myself on the back knowing I recommended (nearly) the same thing as you pros. :P
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: bash-3.00$: to rasputin~$: ?
« Reply #32 on: September 08, 2006, 12:51:06 am »
Oh. I replied at the end of page 1, I think. Well, at least that gives me the right to pat myself on the back knowing I recommended (nearly) the same thing as you pros. :P

You also earn yourself a kick in the balls for not reading the next page of replies.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: bash-3.00$: to rasputin~$: ?
« Reply #33 on: September 08, 2006, 07:51:29 am »
I earn myself a kick in the balls for not noticing* the next page of replies.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: bash-3.00$: to rasputin~$: ?
« Reply #34 on: September 08, 2006, 11:19:38 am »
I earn myself a kick in the balls for not noticing* the next page of replies.

Which, in turn, led you to not reading the next page of replies.