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

Concat() of combined fields in MySQL

Table of contents 1. Introduction 2. Main text 2....

Conflict resolution when marquee and flash coexist in a page

The main symptom of the conflict is that the FLASH...

Sharing experience on MySQL slave maintenance

Preface: MySQL master-slave architecture should b...

CocosCreator Universal Framework Design Network

Table of contents Preface Using websocket Constru...

Examples of preview functions for various types of files in vue3

Table of contents Preface 1. Preview of office do...

Detailed explanation of Svn one-click installation shell script under linxu

#!/bin/bash #Download SVN yum -y install subversi...

Linux tac command implementation example

1. Command Introduction The tac (reverse order of...

JS ES6 asynchronous solution

Table of contents Initially using the callback fu...

Explain TypeScript mapped types and better literal type inference

Table of contents Overview Using mapped types to ...

Getting Started Tutorial for Beginners ⑨: How to Build a Portal Website

Moreover, an article website built with a blog pro...

Detailed explanation of the JVM series memory model

Table of contents 1. Memory model and runtime dat...

MySQL data archiving tool mysql_archiver detailed explanation

Table of contents I. Overview 2. pt-archiver main...

Nginx http health check configuration process analysis

Passive Check With passive health checks, NGINX a...

An article to give you a deep understanding of Mysql triggers

Table of contents 1. When inserting or modifying ...