homepage Welcome to WebmasterWorld Guest from 184.73.104.82
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Log in with a certain directory
how?
Clark

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3078935 posted 3:43 pm on Sep 11, 2006 (gmt 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?

 

mcavic

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3078935 posted 4:30 pm on Sep 11, 2006 (gmt 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

Clark

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3078935 posted 7:33 pm on Sep 11, 2006 (gmt 0)

worked like a charm!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved