Solve the problem that the commonly used Linux command "ll" is invalid or the command is not found

Solve the problem that the commonly used Linux command "ll" is invalid or the command is not found

question:

The commonly used command "ll" is invalid or the command is not found

reason:

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

  1. Run "vi ~/.bashrc"
  2. Check whether there is data like "alias ll='ls -l'" in the file.
  3. If so, remove the "#" before the data.
  4. If not, add "alias ll='ls -l'" and save.
  5. Then run the "source ~/.bashrc" command and it will be successful.
vi ~/.bashrc
alias ll='ls -l'
source ~/.bashrc 

Environment variables apply to the current process

Enter the command to execute

bash

Summarize

This is the end of this article about how to solve the problem of invalid or not found Linux commonly used command "ll". For more related content about invalid linux ll command, please search previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • A complete list of commonly used Linux commands (super comprehensive)
  • Detailed explanation of the usage of grep command in Linux
  • A complete list of commonly used Linux commands (recommended collection)
  • Linux common commands chmod to modify file permissions 777 and 754
  • Introduction to Linux and the most commonly used commands (easy to learn, but can solve more than 95% of the problems)
  • Linux commonly used commands performance commands

<<:  Solution to the problem that synchronous replication errors cannot be skipped in MySQL5.6 GTID mode

>>:  JS function call, apply and bind super detailed method

Recommend

18 Web Usability Principles You Need to Know

You can have the best visual design skills in the...

JS implements a simple brick-breaking pinball game

This article shares the specific code of JS to im...

The difference between Display, Visibility, Opacity, rgba and z-index: -1 in CSS

We often need to control the hidden, transparent ...

Detailed explanation of Vue mixin usage and option merging

Table of contents 1. Use in components 2. Option ...

MySQL 8.0.19 installation detailed tutorial (windows 64 bit)

Table of contents Initialize MySQL Install MySQL ...

Commonly used HTML format tags_Powernode Java Academy

1. Title HTML defines six <h> tags: <h1&...

Calculation of percentage value when the css position property is absolute

When position is absolute, the percentage of its ...

Vue project packaging and optimization implementation steps

Table of contents Packaging, launching and optimi...

Summary of common functions of PostgreSQL regular expressions

Summary of common functions of PostgreSQL regular...

mysql replace part of the field content and mysql replace function replace()

[mysql] replace usage (replace part of the conten...

Use of Vue filters and custom instructions

Table of contents Filters 01.What is 02. How to d...