Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


bash_configs:bashrc_vs_.bash_profile

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
bash_configs:bashrc_vs_.bash_profile [2019/10/04 12:39] juckinsbash_configs:bashrc_vs_.bash_profile [2025/03/20 18:10] (current) – removed juckins
Line 1: Line 1:
-Tips for using .bashrc vs .bash_profile  
- 
-http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html 
- 
-.bashrc root updates: 
- 
-<code> 
-# Added by CJ 
- 
-# Set prompt 
-PS1="[\u@\h: \w]# " 
- 
-PATH=$PATH:$HOME/bin:. 
-export PATH 
-unset USERNAME 
- 
-alias ssh='ssh -Y' 
-alias vi='vim' 
- 
-# no funny characters in man pages 
-#export LC_ALL="en_US" 
- 
-# Combine history 
-export HISTSIZE=10000 
-export HISTCONTROL=ignoredups 
-shopt -s histappend 
-</code> 
  
bash_configs/bashrc_vs_.bash_profile.1570207171.txt.gz · Last modified: 2019/10/04 12:39 by juckins