Home  >  Article  >  Operation and Maintenance  >  What should I do if ll cannot be used in Linux?

What should I do if ll cannot be used in Linux?

WBOY
WBOYOriginal
2022-04-12 10:55:575126browse

Solution: 1. Use the "vim ~/.bashrc" command to open the configuration file for editing; 2. Add the "lias ll='ls -l'" statement to the file to set support for the "ll" command; 3. Use the "source ~/.bashrc" command to update the configuration file and then use the "ll" command.

What should I do if ll cannot be used in Linux?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What to do if ll cannot be used in Linux

Because ll is not the next basic command in Linux, it is actually ls -l An alias, the command ll is not supported by default, you must use ls-l;

##Solution

1. Open the configuration file


vim ~/.bashrc
What should I do if ll cannot be used in Linux?

2. Add the following statement


lias ll='ls -l'
What should I do if ll cannot be used in Linux? 3. Update the configuration file

source ~/.bashrc
What should I do if ll cannot be used in Linux?

Result

Okay, this perfectly solves the problem of

ll not working!
What should I do if ll cannot be used in Linux?

Related recommendations: "

Linux Video Tutorial"

The above is the detailed content of What should I do if ll cannot be used in Linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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