bash - Why my "ll" command does not run in one account, but runs in another account? -
i haven't used linux many years , i've never been sys admin, need setup 1 account other. have root privilege.
i have 2 ubuntu 14.04.2 accounts : *13 , *14
on *13 it's set if type ll
, mean ls -alf
, , it's saved in file called .bashrc
but on *14, won't recognize ll
though i've manually copied .bashrc
*13 *14, did search online, , found if do: . ~/.bashrc
, ll
work on *14 on *13.
but if logout , log in again, won't work again, i'll have . ~/.bashrc
again.
so question is, need on *14, can behave on *13, can use ll
right after login , don't have . ~/.bashrc
first?
i have no idea how these accounts setup, corporate accounts in city , gave me access play them, can test out stuff. have root access, guess can change things if necessary, don't know how go it.
my .bash_profile
script starts preamble:
# .bash_profile # aliases , functions if [ -f ~/.bashrc ]; . ~/.bashrc fi # user specific environment , startup programs # . . .
i think bash might source .bashrc
types of shell sessions. check if have similar above in *13 account. maybe adding .bash_profile
on *14 account fix problem.
Comments
Post a Comment