Welcome to WebmasterWorld Guest from 54.162.19.123

Forum Moderators: bakedjake

Message Too Old, No Replies

Log in with a certain directory

how?

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 8, 2002
posts:2335
votes: 0


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 Sept 11, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 31, 2003
posts:1316
votes: 0


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 Sept 11, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 8, 2002
posts:2335
votes: 0


worked like a charm!
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members