zip 파일 Linux 계열에서 사용하기
zip 파일 Linux 계열에서 사용하기
windows에서 처럼 zip도 Linux 계열에서 사용 가능 하다.
먼저 zip이 해당 서버에 설치 되어 있는지 확인 한 후 없으면
# yum install zip // zip 설치
zip 파일의 사용 방법은
# zip -r [name.zip] [directory] // 압축 시
암호를 넣어 주고 싶은 경우
# zip -P [password] -r [name.zip] [directory]
zip을 압축 해제할 경우 에는 unzip 명령어 사용
서버에 설치 되어 있는지 확인 후 없으면
# yum install unzip // unzip 설치
zip 압축 해제 시
# unzip [filename.zip]
password 걸린 zip 압축 해제 시
# unzip -P [password] [filename.zip]
** unzip 파일이 없는 경우 해당 링크로 가서 파일 다운로드 한 후 아래의 순서 대로 진행
UnZip Utilities Download (*.zip file 압축 해제)
Patches downloaded from Oracle are in the .zip format. To unzip them on your particular platform, a native executable is required. For our customers' convenience, we have made copies available for most popular platforms. NOTE: these are included with Oracle Data Server Version 9i Release 2.
Click on the platform to download the UnZip utility:
Click on the platform to download the UnZip utility:
- Compaq Tru64 UNIX
- Compaq OpenVMS (Alpha)
- Data General AViiON Series [IX86] UNIX
- HP-UX 11.0 (32bit and 64bit)
- IBM NUMA-Q DYNIX/ptx
- IBM OS/390 (MVS)
- IBM RS/6000 AIX (32bit and 64bit)
- LINUX Intel (32bit and 64bit)
- LINUX Intel (32bit and 64bit - Large file support)
- SGI 64-bit UNIX
- Sun SPARC Solaris(32bit and 64bit)
- Sun Solaris V2 Intel
- UnixWare
Instructions to install UnZip on UNIX platforms
- Download the file and transfer it to the UNIX machine in binary mode.
- Uncompress the file:
% uncompress unzip_<os> - Put the file in a directory that is included in your PATH, typically /usr/bin or
/usr/local/bin. - Make sure that the file has execution permissions set. If not, run:
% chmod 751 unzip_<os> - To unzip a file using this executable, just run:
% unzip_os <name of the file to be unzipped>
Instructions to install UnZip on Compaq OpenVMS
If you are using Compaq OpenVMS (Alpha), you need to set the executable as a foreign command by defining a symbol for the unzip utility:unzip == $disk:[dir]unz550xV-axp.exeUse normal unzip options to test, e.g., "unzip -t zip23xV.zip".
Instructions to install UnZip on IBM OS/390
- Go into USS.
- Download the file (unzip.os390) and transfer it to the OS/390 machine in binary mode.
- Put the files in a directory that is included in your PATH, typically /usr/bin or /usr/local/bin.
- If desired, rename the file to unzip.
- Make sure that the file has execution permissions set. If not, run:
chmod 751 <file name>
0 Comments:
댓글 쓰기