Alias is a way to pair a command with a name of your choice. For example when you use ls , it is actually ls='ls --color=auto' it has and alias to ls and when you commit ls it executes ‘ls --color=auto’ . if you execute the command alias you will get something like this : alias cp='cp -i' alias l.='ls -d .* --color=auto' alias ll='ls -l --color=auto' alias ls='ls --color=auto' alias mv='mv -i' alias rm='rm -i' If you want to set an alias for the current session just type # alias ll='ls -lah' If you want to remove an alias for the current session just type $unalias ll Aliases in Centos You can add a permament alias in centos using the following simple steps: 1st step Create a file in /etc/profile.d/ directory create a file with filename relative to the command you want to make an alias (this is just a mnemonic hint) inside the directory: /etc/profile.d/ as is shown in the following ...
I Am on A Long Exciting Journey To Explore The World Of Linux.