Glen Barber wrote:
> Hi, Steve
> 
> On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand<st...@ibctech.ca> wrote:
>> Hi everyone,
>>
>> I've got a couple of jails now that I use exclusively for Perl development.
>>
>> As soon as I log into the box via SSH, my first command is _always_ "cd
>> devel/something".
>>
>> I'd like to make it so that '~' remains /home/steve, but when I log in,
>> I would prefer to be dropped immediately into /home/steve/devel.
>>
>> csh is (always) my shell, and I'm on 7.2.
>>
>> Instead of writing a login script, I'm wondering if there's a more
>> native approach to get what I'm after.
>>
> 
> You can always add:
> cd $HOME/devel/something
> 
> to $HOME/.login

%echo "cd /home/steve/devel" >> /home/steve/.login
%exit

...re-connect via SSH:

Password:

%pwd
/home/steve/devel

Beautiful! That was exactly what I was after.

Thanks!

Steve

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to