LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2005, 05:02 AM   #1
lucky6969b
Member
 
Registered: Nov 2005
Posts: 337

Rep: Reputation: 30
login path


Hi,
How do u make a dir the default path when you start up?
Thanks
Jack
 
Old 12-09-2005, 05:37 AM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
You mean putting a user at say, /var/log instead of home when they login?
 
Old 12-10-2005, 03:36 AM   #3
lucky6969b
Member
 
Registered: Nov 2005
Posts: 337

Original Poster
Rep: Reputation: 30
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
 
Old 12-10-2005, 07:59 AM   #4
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squerril mail login.php path problem tkmuthuvel Linux - Networking 1 10-13-2005 11:26 PM
Changing the login PATH cliff76 MEPIS 1 06-22-2005 04:20 PM
Chainging the PATH on login shells cliff76 Debian 5 06-16-2005 04:52 PM
Set path at login bcarl314 Linux - Newbie 4 10-13-2003 01:48 PM
Setting $PATH to include /home at login?? smurphy Linux - General 3 08-08-2001 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration