alias help

i want to use short cut alias command but its not happening can any on help

It would help, if you show us what is it that you tried ?

i have tried only on command alias l='ls -ltr'

And what error did you encounter ?

when i type l next it displays
l command not found