LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   login path (https://www.linuxquestions.org/questions/linux-newbie-8/login-path-390815/)

lucky6969b 12-09-2005 04:02 AM

login path
 
Hi,
How do u make a dir the default path when you start up?
Thanks
Jack

Poetics 12-09-2005 04:37 AM

You mean putting a user at say, /var/log instead of home when they login?

lucky6969b 12-10-2005 02:36 AM

Actually meaning should be /home/Someone/Projects/.
So each time you start linux after login, you go to that dir without typing a longish cd. thanks
Jack

Poetics 12-10-2005 06:59 AM

I believe putting a "cd Projects" or "cd /home/Someone/Projects" in .bashrc and/or .bash_profile would do it (gurus correct me if I'm wrong). These are files that are checked whenever someone logs in to the computer; it should issue the command unless there's something I'm forgetting.


All times are GMT -5. The time now is 04:45 PM.