Monday, November 12, 2012

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

The Post Show 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'.

The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make the Tutorial Easier to Read and Digest ;)

Linux-Gnome Penguin on Ubuntu
  1. Open Terminal Window
  2. Get Aliases List
    alias
  3. UnAliasing
    unalias aLiAsNaMe

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

    unalias cp