What is the alias mechanism in UNIX?
The alias mechanism allows one to specify or assign another name to a command. Basically, it assigns an alias to the command. This comes in useful as one can assign an alias to a command that would otherwise be difficult to remember.
alias dir ‘ls -sFC’
This indicated to the system that the command “dir” can now be used instead of ‘ls -sFC’. Using “dir” will have the same effect as using ‘ls -sFC’