Installed AlmaLinux on server machine. Running OK, but there are some unremovable aliases. Removed traces from homedir, /etc/profile.d. than source .bashrc and? Guess what? Aliases are still shown as output of alias command!
Anyone?
Installed AlmaLinux on server machine. Running OK, but there are some unremovable aliases. Removed traces from homedir, /etc/profile.d. than source .bashrc and? Guess what? Aliases are still shown as output of alias command!
Anyone?
Officially:
/etc/profile.d/*
~/.bashrc.d/*
Of course sometimes people modify the files:
/etc/profile
/etc/bashrc
~/.bashrc
~/.bash_profile
If that doesn’t sort things out, try:
# cd /etc
# grep -s alias * */*
and
$ cd ~
$ grep -s alias * .??* */*
It could help if you would show that output.
@MartinR Thanks a milion man. Marked as solution.