Tag Info

New answers tagged

2

If you have many aliases and wish to clear them all, run unalias -a. Then you can source your .bashrc (or .bash_aliases) file to use the aliases there. $ unalias -a $ # '.' is like an alias to 'source' $ . ~/.bashrc Sometimes it is desirable to disable an alias temporarily instead of unaliasing it entirely. To do this, put a \ in front of your command. $ ...


4

Use the unalias command: $ alias foo=ls $ foo ... ls output ... $ unalias foo $ foo bash: foo: command not found


4

by using unalias: [zak ~]$ alias ls alias ls='ls --color=auto' [zak ~]$ unalias ls [zak ~]$ alias ls bash: alias: ls: not found



Top 50 recent answers are included