ll is not the next basic Linux command, it's actually an alias for Ls-l.
Ubuntu default does not support the command ll, must use Ls-l, this is not very convenient to use.
If you want to use this command, you can make the following modifications:
Open ~/.BASHRC
Find #alias ll= ' ls-l ' and get rid of the front #. (Close the original terminal for the command to take effect)
So that individual users can use LL command, when switching to super users, use LL command when the hint can not find the command, it is because you have only modified the configuration of individual users, so, switch to root after doing the same operation can solve the problem.
Revelation: We can add any other command alias by modifying ~/.BASHRC.
There is another way to achieve this:
First directly with VI to create a file "ll".
VI ll
Write it in there.
Ls-l
Save. Then the new "ll" file copy to the Usr/bin, it can be used directly.