Linux "ll" Command implementation __linux

Source: Internet
Author: User
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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.