링크 : http://wiki.kldp.org/HOWTO/html/Adv-Bash-Scr-HOWTO/index.html


'OS > Linux' 카테고리의 다른 글

[Linux] 리눅스 명령어  (0) 2013.12.25
Shell Script  (0) 2013.12.15
[Linux] Shell Script  (0) 2013.04.03
tar 압축, 해제  (0) 2008.02.20
posted by 뚱2

[Linux] 리눅스 명령어

OS/Linux 2013. 12. 25. 12:53

링크 : http://arturoherrero.com/2013/11/29/command-line-one-liners/

'OS > Linux' 카테고리의 다른 글

[Linux] 고급 Bash 스크립팅 가이드  (0) 2013.12.30
Shell Script  (0) 2013.12.15
[Linux] Shell Script  (0) 2013.04.03
tar 압축, 해제  (0) 2008.02.20
posted by 뚱2

Shell Script

OS/Linux 2013. 12. 15. 22:12

링크 : http://www.insford.com/wiki/Wiki.jsp?page=Shell%20Script

'OS > Linux' 카테고리의 다른 글

[Linux] 고급 Bash 스크립팅 가이드  (0) 2013.12.30
[Linux] 리눅스 명령어  (0) 2013.12.25
[Linux] Shell Script  (0) 2013.04.03
tar 압축, 해제  (0) 2008.02.20
posted by 뚱2

[Linux] Shell Script

OS/Linux 2013. 4. 3. 22:35

링크 : http://pds21.egloos.com/pds/201303/08/02/Bash_shell_script.pdf

'OS > Linux' 카테고리의 다른 글

[Linux] 고급 Bash 스크립팅 가이드  (0) 2013.12.30
[Linux] 리눅스 명령어  (0) 2013.12.25
Shell Script  (0) 2013.12.15
tar 압축, 해제  (0) 2008.02.20
posted by 뚱2

tar 압축, 해제

OS/Linux 2008. 2. 20. 17:06

1. tar 압축
  #tar -cvfz  파일명.tar.gz 압축할 디렉토리

2. tar 해제
  #tar -xvfz  파일명.tar.gz

ps. 압축을 실행하면 하위 디렉토리 포함 전부 압축됩니다.

 

2013-04-03 추가

1. 압축
   tar cvf - "
압축하고자 하는 디렉토리or파일명" | gzip > "압축 파일명"
   예) tar cvf - ./test_dir | gzip > test_dir.tar.gz

2.
압축해제

   gzip -dc "압축파일명" | tar xvf -

   예) gzip -dc test_dir.tar.gz | tar xvf -


3. 단순히 압축하지 않고 tar로 묶기
   tar -cvf "tar파일명" "대상파일(또는 디렉토리)"
   예) tar -cvf arbp.tar ./Arbp

4. tar 풀기
   tar -xvf "tar파일명"
   예) tar -xvf arbp.tar

'OS > Linux' 카테고리의 다른 글

[Linux] 고급 Bash 스크립팅 가이드  (0) 2013.12.30
[Linux] 리눅스 명령어  (0) 2013.12.25
Shell Script  (0) 2013.12.15
[Linux] Shell Script  (0) 2013.04.03
posted by 뚱2