
unzip
자세한 출력 없이 war 파일을 추출해야 합니다.
난 이렇게 하고 있어 -
unzip myFile.war -d /home/app/
하지만 이렇게 하면 자세한 출력이 생성됩니다. 어떻게 하면 그걸 방지할 수 있나요?
답변1
조용히 압축을 풀 수 있습니다. -qq 옵션을 사용하세요( 참조 man unzip
).
-q perform operations quietly (-qq = even quieter). Ordinarily
unzip prints the names of the files it's extracting or testing,
the extraction methods, any file or zipfile comments that may be
stored in the archive, and possibly a summary when finished with
each archive. The -q[q] options suppress the printing of some
or all of these messages.
귀하의 명령은 다음과 같습니다
unzip -qq myFile.war -d /home/app/