Home  >  Article  >  Operation and Maintenance  >  What to do if finger cannot be found in Linux

What to do if finger cannot be found in Linux

WBOY
WBOYOriginal
2022-07-29 17:05:002937browse

Solution to the problem that finger cannot be found in Linux: 1. Load the image file to the Linux optical drive and mount the optical drive to the Linux system; 2. Use the "ls | grep finger" command to locate the finger software package ;3. Use the "rpm -ivh complete rpm package name" command to install finger.

What to do if finger cannot be found in Linux

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

What to do if finger cannot be found in Linux

The problem that the finger command cannot be found

1. First check whether there is a CD file on the main interface

What to do if finger cannot be found in Linux

If not, load the image file to the Linux optical drive

What to do if finger cannot be found in Linux

What to do if finger cannot be found in Linux

Connect to the optical drive

What to do if finger cannot be found in Linux

The image is for Linux installation, so all the software is in the image CD to mount the CD-ROM drive to the Linux system

创建挂载点: mkdir /mnt/cdrom
挂载光驱 : mount /dev/sr0 /mnt/cdrom /dev/sr0代表光驱

mount is used Mount files outside the Linux system

What to do if finger cannot be found in Linux

If you simply use the ls command, all the software packages in the current directory will be searched. If you want to locate a certain software package, you can add The grep tool performs keyword positioning. The syntax is as follows:

2. ls | grep keywords of the software package

For example, to locate the finger software package, the command is as follows:

ls | grep finger

What to do if finger cannot be found in Linux

3. Use the rpm -ivh command to install the software package. The syntax format is as follows:

rpm -ivh [complete rpm Package name]: Indicates using the rpm command to install

When entering the finger command again:

What to do if finger cannot be found in Linux

Complete! ! !

Recommended learning: Linux video tutorial

The above is the detailed content of What to do if finger cannot be found 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