Linux How-to Get Command Line Aliases List and Quick-Easy Unaliasing

November 12th, 2012 by Regaz



The Article Shows You How-to Get a List of Command Line Aliases and How-to Quick-Easy Un-Aliasing.

This is Useful when you Find Some Kind of Mis-Behavior Manifested from a Command than has been Override by an Alias Definition Some-Where…

This is Also the Case of some Gentoo Distro Shipping with a cp Alias Meaning ‘cp -i’.

Finally the post’s Content is Expressly Reduced to Give Focus to the Essentials Instructions and Commands.

Linux-Gnome Penguin on Ubuntu
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)
  2. Get Aliases List
    alias
  3. UnAliasing
    unalias aLiAsNaMe

    For Example for Un-Aliasing the Gentoo alias cp=’cp -i’:

    unalias cp

Tags: , , , , , , ,