Fedora나 CentOS 같은 redhat 계열에서 ifconfig을 실행 했을 경우 찾을 수 없다라는 오류가 뜰 경우 해결 하는 방법입니다
net-tools이라는 패키지가 설치되지 않아 발생하는 문제이며 아래와 같이 yum으로 설치 및 해결 가능합니다
# ifconfig
-bash: ifconfig: command not found
# yum install net-tools
Resolving Dependencies
--> Running transaction check
---> Package net-tools.x86_64 0:2.0-0.6.20130109git.fc19 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
net-tools x86_64 2.0-0.6.20130109git.fc19 fedora 293 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 293 k
Installed size: 855 k
Is this ok [y/d/N]: y
Downloading packages:
net-tools-2.0-0.6.20130109git.fc19.x86_64.rpm | 293 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : net-tools-2.0-0.6.20130109git.fc19.x86_64 1/1
Verifying : net-tools-2.0-0.6.20130109git.fc19.x86_64 1/1
Installed:
net-tools.x86_64 0:2.0-0.6.20130109git.fc19
Complete!