Welcome to WebmasterWorld Guest from 54.162.239.134

Forum Moderators: bakedjake

Message Too Old, No Replies

Log in with a certain directory

how?

     
3:43 pm on Sep 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I SSH into my server using SecureCRT. But it always stick me in my home directory. I'd like to start in /home/myusername/www. I see no config. place to do that in SecureCRT. Is there a Unix way to set that up?
4:30 pm on Sep 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to do a cd command in the startup script for your shell. I believe most modern Linuxes use bash, so in your home directory, that would be .bashrc and at the end, just do
cd /home/myusername/www
7:33 pm on Sep 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



worked like a charm!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month