메뉴 건너뛰기

조회 수 76904 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

파일이 너무 커서 열리지 않거나, 해당 파일을 자신이 원하는 사이즈에 맞게 나누거나 할때 유용한 명령어 이다.

사용법: split [<옵션>] [<입력> [<접두어>]]
split --help 라고 쳤을때 나오는 문구

 
Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is `x'. With no INPUT, or when INPUT is -, read standard input. 긴 옵션에서 꼭 필요한 인수는 짧은 옵션에도 꼭 필요합니다. -a, --suffix-length=N use suffixes of length N (default 2) -b, --bytes=SIZE put SIZE bytes per output file -C, --line-bytes=SIZE put at most SIZE bytes of lines per output file -d, --numeric-suffixes use numeric suffixes instead of alphabetic -l, --lines=NUMBER put NUMBER lines per output file --verbose 진단 내용을 각 출력 파일을 열기 직전에 표준 오류로 출력합니다 --help 이 도움말을 표시하고 끝냅니다 --version 버전 정보를 출력하고 끝냅니다


간단히 예제를 들어주자면,
split -b 1048576 [나눌파일의경로및이름] [생성될파일경로및접두어]

 
split -b 1048576 tlinux/test.sql tlinux/sp

라는 식으로 명령어를 실행시킨다면, test.sql 파일이 1Mb씩 나뉘어서 spaa, spab, spac... 식으로 생성된다는 소리다.


  1. No Image 18Apr
    by
    2017/04/18 Views 7841 

    & 실행과 nohup 실행

  2. No Image 26Mar
    by
    2014/03/26 Views 8555 

    AIDE를 이용한 리눅스 파일 시스템의 무결성 점검

  3. No Image 27Feb
    by
    2014/02/27 Views 7966 

    apache + mysql 자동 실행 방법 (소스설치)

  4. No Image 22Nov
    by
    2016/11/22 Views 8799 

    Apache 2.2.17 + WebLogic 10.3.3 연동하기

  5. No Image 18Mar
    by
    2016/03/18 Views 8558 

    Apache 2.x 에서 maxclients 1024 제한 초과 방법 (수정 중..)

  6. No Image 22Apr
    by
    2016/04/22 Views 8923 

    Apache Mod_Security 사용방법

  7. No Image 27Feb
    by
    2014/02/27 Views 8501 

    apache status 모듈 ( 모니터링 )

  8. No Image 26Mar
    by
    2014/03/26 Views 7587 

    apache vhost deny 설정

  9. No Image 18Mar
    by
    2016/03/18 Views 7373 

    apache 구동중지되어있을 때 재구동 스크립트

  10. No Image 14Feb
    by
    2019/02/14 Views 1932 

    Apache 동시접속자수 확인

  11. No Image 27Feb
    by
    2014/02/27 Views 7453 

    apache 로그정리 (logrotate)

  12. No Image 18Mar
    by
    2016/03/18 Views 8155 

    Apache 리다이렉트

  13. No Image 27Feb
    by
    2014/02/27 Views 8074 

    Apache 웹서버 server-status 모니터링

  14. Apache 웹서버 server-status 모니터링

  15. No Image 26Mar
    by
    2014/03/26 Views 8160 

    apache 컴파일시 동시 접속자 제한 변경하기

  16. No Image 19Sep
    by
    2016/09/19 Views 7472 

    Apache 환경 설정 파일 정보 (httpd.conf)

  17. No Image 27Feb
    by
    2014/02/27 Views 7667 

    Apache(아파치)를 사용해 redirect(리다이렉트) 하는 방법 7

  18. No Image 27Feb
    by
    2014/02/27 Views 7667 

    apache, mod_ssl 설치 (apache 1.3.37버전)

  19. No Image 30Dec
    by
    2016/12/30 Views 8651 

    APACHE, OHS 400 웹로직 연동후 특정 작업에 400 error

  20. No Image 14Feb
    by
    2019/02/14 Views 1129 

    apache2 트래픽 모듈 mod_cband 사용법

Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved