[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ".profile" & BASH in PATH?



On Sun, Sep 12, 1999 at 08:12:18PM -0700, bwarsing wrote:
> 1. The only user on my system who has a ~/.profile is root.  It had to have been generated during installation.  So I am left to wonder, how do I create a 
> ~/.profile for each user as well as subsequent users.

If you are using bash each user has .bashrc and .bash_profile in his home
directory. The only profile I know is /etc/profile.


> 2. Also, when I want execute a shell script, why am I forced to do...
> 
> bash <shell.script>
> 
 
Put #!/bin/bash in the first line of your script.

Greetings.

-- 
------------------------------------------------------
				 _____  ___________ 
Marcelo Ramos			|     \/      __   | 
Debian 2.0 (Hamm)		|            |_/   /  
Linux registered user #118109	|                 \ 
beakman@cmat.edu.uy		|____|\/|____|\____\

------------------------------------------------------


Reply to: