![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you set up an FTP user account? | XZOR | UNIX for Dummies Questions & Answers | 2 | 12-07-2006 08:13 AM |
| Setting an account to be a non-login account automatically? | LordJezo | UNIX for Dummies Questions & Answers | 0 | 06-16-2006 06:28 AM |
| HMC User account expired - What now? | backslash | AIX | 0 | 05-31-2006 02:14 PM |
| user account | chomca | Post Here to Contact Site Administrators and Moderators | 1 | 05-22-2006 09:41 AM |
| bash: setting arrays | Kriton | UNIX for Dummies Questions & Answers | 3 | 07-20-2001 09:35 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Problem setting up Bash user account
Hi,
We have a unix user account with login shell as ksh. Now we want to migrate our jobs to a new user account having bash as its login shell. For the old account we had a .env file which set up a lot of aliases and did a few other useful things. It seems this file was executed the on logging into the account. However though i have copied the .env to the home directory of the new bash account this file is not executed automatically any more. Is this something to do with the difference between bash and ksh ? |
| Forum Sponsor | ||
|
|
|
|||
|
Actually it depends on which Linux and which bash. I've been finding newer bash's are loading .profile and not .bashrc. You can leave .env on the account and just add:
Code:
if [ -f ~/.env ] then . ~/.env fi Carl |
|||
| Google UNIX.COM |