Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-30-2006, 08:30 AM   #1
Registered: Nov 2006
Posts: 41

Rep: Reputation: 15
how can know

Are you using .bash_profile, or .profile, or what ? If you execute it at command line what is the result ?

how can know which profile is user using...

plz reply

Old 11-30-2006, 08:50 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,088

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
google is your friend (& mine):
Old 11-30-2006, 10:33 AM   #3
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
  1. Check what shell you are using:
    echo $SHELL
  2. Read the FILES section of the manual page for your shell, e.g.
    man bash
  3. Check for the existence/permissions of the files listed in the man page.
  4. If you're still unsure, put echo lines in the various files, e.g.
    echo "this is the ~/.bash_profile"


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

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