How to solve the problem that the command cannot be found when running the 'll' command?

王林
Release: 2020-07-11 17:35:26
forward
6074 people have browsed it

How to solve the problem that the command cannot be found when running the 'll' command?

Executing the ll command prompts the following error:

How to solve the problem that the command cannot be found when running the ll command?

(Recommended tutorial: linux tutorial)

Analysis:

The "ll" command is not a basic command of Linux. It is an alias for "ls -l", Some versions do not directly support "ll" command output.

Solution:

1. Run "vi ~/.bashrc";

2. Check whether there is "alias ll='ls -" in the file. l'";

3. If there is, remove the "#" before the data;

4. If there is not, add "alias ll='ls -l'" Go in and save;

5. Then run the "source ~/.bashrc" command to succeed.

The above is the detailed content of How to solve the problem that the command cannot be found when running the 'll' command?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!