새소식

Operation System/Unix & Linux

file: command not found

  • -
728x90
반응형

file 유틸리티 설치


file

CentOS

[root@ad6cabebeb70 bin]# yum install -y file

[root@ad6cabebeb70 bin]# file
Usage: file [-bchikLlNnprsvz0] [--apple] [--mime-encoding] [--mime-type]
            [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ...
       file -C [-m magicfiles]
       file [--help

Ubuntu

root@2e7d55ea6f88:~# apt-get install -y file

root@2e7d55ea6f88:~# file
Usage: file [-bcCdEhikLlNnprsSvzZ0] [--apple] [--extension] [--mime-encoding]
            [--mime-type] [-e <testname>] [-F <separator>]  [-f <namefile>]
            [-m <magicfiles>] [-P <parameter=value>] <file> ...
       file -C [-m <magicfiles>]
       file [--help]


  • 패키지 매니저로 설치가 불가능한 경우 아래 링크를 통해 직접 파일로 다운 받아 설치를 합니다.
 

Linux utility / libarary 파일 다운로드

리눅스 환경에서 yum 또는 apt-get과 같은 패키지 관리자로 패키지를 다운 받지 못할 때 파일로 준비해야 합니다. 라이브러리 또는 유틸리티 Repository CentOS Index of /centos mirror.navercorp.com CentOS 버..

junsuyoun.tistory.com


728x90
반응형

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.