tamirmilo
asked on
Bash profile best practice
Hello,
Can any one provide me best practice to bash profile? Or a good template ?
Thank you.
Can any one provide me best practice to bash profile? Or a good template ?
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you,
Do you want to customize the prompt, you will have to have modify PS1 environment variable.
You can set certain aliases for command you frequently use.
You also would set up path to include your current directory so that you don't have to do ./
Just put
export PATH=$PATH:.
You can make the history file very long, I typically make it 100000 commands so that you can recall really older commands as well