Possible that some of the basic commands used in Linux
ifconfig
command
If you use linux in the ifconfig
command prompt command not found
. Why?
Because if it is minimal install linux version, is not included with ifconfig
the installation package command, you need to install their own respective network tools
use the following command to install linux networking tools:
$ sudo yum install net-tools
vim
command
Using the vim
command prompt command not found
, also because there is no installing the package, there are two solutions:
- Use
vi
the command instead ofvim
command - Enter the
rpm -qa|grep vim
command, if vim has been properly installed, will return the following three lines of code:
root@server1 [~]# rpm -qa|grep vim
vim-enhanced-7.0.109-7.el5
vim-minimal-7.0.109-7.el5
vim-common-7.0.109-7.el5
If a less one of them, such as the vim-enhanced, with the following command to install it:
yum -y install vim-enhanced
If the above three did not return to a, the following command can be used directly
yum -y install vim*