LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-02-2003, 08:47 AM   #1
Pougan
Member
 
Registered: Nov 2003
Location: Pouganis -- a planet not too far from over there.
Distribution: Vector
Posts: 31

Rep: Reputation: 15
Question QT and the home directory




Okay, I've got an ultimate n00b question for you guys...a real stumper...what does QT mean by "create .profile in the home directory"? I created .profile like it said, but which directory is the home directory? Does it refer to the actual directory named /home, or does it refer to something else. I should have had this answered by my super-linux friend, but he likes to give misleading n00b-confuddling answers. I created it in /home, and ran ./configure, which seems to have run just fine, but haven't gotten a chance to make it yet cause I'm at work now. Does the location of .profile affect ./configure, or just make, or both, or neither, or stuff?

Thanks .
 
Old 11-02-2003, 09:38 AM   #2
Pougan
Member
 
Registered: Nov 2003
Location: Pouganis -- a planet not too far from over there.
Distribution: Vector
Posts: 31

Original Poster
Rep: Reputation: 15
Okay, well, my coworked had a Unix handbook that explained it as the home directory for each user, so that means I need to make a .profile for each user? Or does it work from /home...I wouldn't think it would, but it would be nice.
 
Old 11-02-2003, 09:48 AM   #3
dkloes
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
The answer could depend on the version of Linux you are running. RedHat uses the .baschrc in the home directory which serves the same purpose. If your system is actually using the .profile, it should already be in each user's home directory. When a user account is created, a directory with that user name is in /home. For example, jsmith account would have a home directory of /home/jsmith. That is where the .profile (.bashrc) resides and only applies to that user.

If you need to do the same thing for all users when they login, put it in /etc/profile (/etc/bashrc) rather than in the individual .profile
 
Old 11-02-2003, 09:55 AM   #4
Pougan
Member
 
Registered: Nov 2003
Location: Pouganis -- a planet not too far from over there.
Distribution: Vector
Posts: 31

Original Poster
Rep: Reputation: 15
Interesting. The installation instructions for QT say you'll either have a .profile or a .login, but bash kernels use .profile. It never mentions a .bashrc anywhere. Thanks, I'll try the /etc/profile thing .
 
  


Reply



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
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
Home Directory! UltraSoul Solaris / OpenSolaris 1 01-01-2005 09:26 AM
home directory paul62 Linux - Newbie 3 11-18-2004 08:39 PM
home directory under a home directory GEEXTER Linux - General 4 04-03-2003 09:17 AM
Can't get in home directory--Help dtsfanatic Linux - General 1 08-10-2002 03:19 PM

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

All times are GMT -5. The time now is 09:16 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
Open Source Consulting | Domain Registration