Changing my login directory

Glen Barber glen.j.barber at
Thu Jun 18 01:19:08 UTC 2009

Hi, Steve

On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand<steve at> 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

Glen Barber

More information about the freebsd-questions mailing list