OS_Linux&Unix

[Linux/Unix] bin 파일 실행하기 (실행권한)

최선을 다하자! 2022. 10. 11. 09:45

bin 파일은 기본적으로 실행권한 (x) 가 없다.

 

받은 bin 파일에 실행권한을 주고 실행을 하여야 가능하다!

 

 

 

 

1. chmod +x bin파일     (x 실행권한 주기 )

 

bin 파일을 보면 현재 사용자계정에 대한 실행권한이 주어져 있지 않다.

 

따라서 chmod 커맨드와 +x 옵션으로 실행권한을 부여해준다.

 

 

 

# ls -arlt
total 218072
drwxr-xr-x   12 jwchoi   ofm            4096 Oct 11 09:33 ..
drwxr-xr-x    2 jwchoi   ofm             256 Oct 11 09:34 .
-rw-r--r--    1 jwchoi   ofm       111647298 Oct 11 09:35 tuxedo10_64_aix_53_ppc.bin

# chmod +x tuxedo10_64_aix_53_ppc.bin 
 
# ls -arlt
total 218072
drwxr-xr-x   12 jwchoi   ofm            4096 Oct 11 09:33 ..
drwxr-xr-x    2 jwchoi   ofm             256 Oct 11 09:34 .
-rwxr-xr-x    1 jwchoi   ofm       111647298 Oct 11 09:35 tuxedo10_64_aix_53_ppc.bin

 

 

 

 

2. ./bin파일                    (실행하기)

 

 

# ./tuxedo10_64_aix_53_ppc.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...