View Full Version : Bash prompt default location
shorin
07-06-2006, 05:42 PM
I know this is a stupid question, but I haven't been able to find an answer here or on Google.... When I telnet into the box, the default directory is /var/temp. How do I change this to say /var/hack? Thanks.
Danny
ocntscha
07-06-2006, 06:42 PM
I know this is a stupid question, but I haven't been able to find an answer here or on Google.... When I telnet into the box, the default directory is /var/temp. How do I change this to say /var/hack? Thanks.
Danny
Somewhere in your rc.sysinit.author file you've got a line resembling this one..
/sbin/tnlited 23 /bin/bash --login &
somewhere above that line make a line..
cd /var/hack
shorin
07-06-2006, 06:45 PM
See, I knew it was stupid..... Thanks.
Danny
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.