Skip to content

Linux: Add and list aliases

Print all existing aliases

alias

Add a new alias

alias list='ls -la'

In the above example, an alias list has been added which actually runs the command ls -la

Leave a Reply

Your email address will not be published. Required fields are marked *