[sclug] puzzle: including ~/bin in $PATH

Keith Edmunds keith at midnighthax.com
Mon Nov 28 08:51:45 UTC 2005


John Stumbles wrote:
> to see if bash_profile is being run (it isn't on sarge, it is on kubuntu)

Much easier (and more reliable) way: put 'set -x' as the first line of 
.bash_profile. When you log in you should then see the file being 
executed. If .bash_profile isn't being run, what is the output from your 
Sarge system of:

	grep your-username /etc/passwd
	ls -l ~/.bash_profile


-- 
Keith Edmunds

+---------------------------------------------------------------------+
|  Tiger Computing Ltd  |  Helping businesses make the most of Linux  |
|  "The Linux Company"  |    http://www.TheLinuxConsultancy.co.uk     |
+---------------------------------------------------------------------+


More information about the Sclug mailing list