PDA

View Full Version : Where are aliases defined ?


teox78
18th April 2008, 08:35 AM
It's not really a Fedora 9 specific question, but I would like to know where are aliases defined.

[matteo@teox78 ~]$ alias
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias vi='vim'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'


I haven't added these aliases and would like to remove some of them, I know I could use unalias but I'd prefer to remove them where they are defined.

Hlingler
18th April 2008, 09:42 AM
The file in question is: ~/.bashrc

OR, perhaps you set up those as global aliases in: /etc/bashrc

But I'd recommend to check your personal file first.

V