bash_login_profile
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bash_login_profile [2008/01/30 21:24] – juckins | bash_login_profile [2008/01/30 21:37] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Creating a bash login source file from the user's home directory====== | + | ======Creating a bash login source file & default prompt====== |
touch .bash_login \\ | touch .bash_login \\ | ||
- | now add this line: source .bashrc | + | now add this line: |
+ | < | ||
+ | source .bashrc | ||
+ | </ | ||
\\ | \\ | ||
touch this file: .bashrc \\ | touch this file: .bashrc \\ | ||
- | now add this line to set a useful prompt: PS1=" | + | now add this line to set a useful prompt: |
+ | < | ||
+ | PS1="[\u@\h: \w]$ " | ||
+ | </ |
bash_login_profile.txt · Last modified: 2008/01/30 21:37 by juckins