Date: Wed, 17 Jun 2009 21:24:18 -0400 From: Steve Bertrand <steve@ibctech.ca> To: Glen Barber <glen.j.barber@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login directory Message-ID: <4A399742.1050402@ibctech.ca> In-Reply-To: <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> References: <4A3994BC.1000600@ibctech.ca> <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Glen Barber wrote:
> Hi, Steve
>
> On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand<steve@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 #2 --]
0 *H
010 + 0 *H
00CK9AbxIUw0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10 *H
steve@ibctech.ca0"0
*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|t ݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(G C^K6XV4j<t -0+0U0steve@ibctech.ca0U0 0
*H
æ|85aQz-*3HG .s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1 n00CK9AbxIUw0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10 *H
steve@ibctech.ca0"0
*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|t ݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(G C^K6XV4j<t -0+0U0steve@ibctech.ca0U0 0
*H
æ|85aQz-*3HG .s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1 n0?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0 + 0 *H
1 *H
0 *H
1
090618012418Z0# *H
1FcĽ%OȖR(0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0 +71x0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0*H
1xv0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0
*H
CץtL{JcD{p2E=К=aaR_D`crFب4ïM'.ɘ0`IY3P]^n-GܣNm4Ȱ;V8h?krJ-f^ʼ%p[ߖWhЖxw꣮KG#J>'zZ~.P7:&Q[>uTP͜zn|a%$
DZc^rG1m
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A399742.1050402>
