Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


bash_login_profile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
bash_login_profile [2008/01/30 21:22]
juckins created
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:  
 +<code> 
 +source .bashrc 
 +</code>
 \\ \\
 touch this file: .bashrc \\ touch this file: .bashrc \\
-now add this line to set a useful prompt: PS1="\[email protected]\h: \w $ " \\+now add this line to set a useful prompt: 
 +<code> 
 +PS1="[\[email protected]\h: \w]$ " 
 +</code>
bash_login_profile.1201746151.txt.gz · Last modified: 2008/01/30 21:22 by juckins