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

Detailed explanation of Zabbix installation and deployment practices

Preface Zabbix is ​​one of the most mainstream op...

MySQL Series 12 Backup and Recovery

Table of contents Tutorial Series 1. Backup strat...

Three ways to communicate between Docker containers

We all know that Docker containers are isolated f...

Three ways to check whether a port is open in a remote Linux system

This is a very important topic, not only for Linu...

Detailed explanation of CocosCreator project structure mechanism

Table of contents 1. Project folder structure 1. ...

React Class component life cycle and execution order

1. Two ways to define react components 1. Functio...

Do you know the weird things in Javascript?

Our veteran predecessors have written countless c...

Solution for Vue routing this.route.push jump page not refreshing

Vue routing this.route.push jump page does not re...

Using css-loader to implement css module in vue-cli

【Foreword】 Both Vue and React's CSS modular s...

Specific method to add foreign key constraints in mysql

The operating environment of this tutorial: Windo...

Sample code for configuring nginx to support https

1. Introduction Are you still leaving your websit...

MySQL query statement simple operation example

This article uses examples to illustrate the simp...

Detailed tutorial on installing Nginx 1.16.0 under Linux

Because I have been tinkering with Linux recently...

WeChat applet records user movement trajectory

Table of contents Add Configuration json configur...

How to build lnmp environment in docker

Create a project directory mkdir php Create the f...