I am able to run ll command with my user but not with sudo. I'm getting the following error while doing it
ll
sudo
error: ll: command not found!
Error statement is not exact, but it was similar.
Try sudo ls -l.
sudo ls -l
As ll is a shorthand for ls -l.
ls -l