[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Console isn't reading the ~/.bashrc file!



At Ye Old console...

root logs in
root opens /root/.bashrc, adds "alias lt='ls -lt'", saves, quits.
root logs out
root logs back in.
root issues the "lt" command
BASH executes the command

root creates newuser
root logs out

newuser logs in
newuser opens /home/newuser/.bashrc, adds "alias lt='ls -lt'", saves, quits.
newuser logs out
newuser logs back in.
newuser issues the "lt" command
BASH says Command Not Found!
newuser issues . .bashrc
newuser issues the "lt" command
BASH executes the command

At Ye Old Graphical User Interface..

newuser logs out
newuser logs back in
newuser launches GUI session
newuser opens xterm
newuser issues the "lt" command
BASH executes the command!

newuser sits in front of his computer in stunned silence wondering why
he had to source the .bashrc file at the console in order to make the
"lt" command work?

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.