게시물 1,376건
   
file aplit and merge
글쓴이 : 최고관리자 날짜 : 2017-01-02 (월) 10:03 조회 : 3570
글주소 :
                                
split [option] filename prefix

# ls -lh /bin/grep 
-rwxr-xr-x 1 root root 207K  4월 29  2016 /bin/grep


파일 자르기 
# split --byte=10k /bin/grep /tmp/prefix
# ls -l /tmp/prefix*
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixaa
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixab
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixac
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixad
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixae
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixaf
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixag
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixah
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixai
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixaj
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixak
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixal
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixam
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixan
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixao
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixap
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixaq
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixar
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixas
-rw-r--r-- 1 root root 10240  1월  2 09:59 /tmp/prefixat
-rw-r--r-- 1 root root  6424  1월  2 09:59 /tmp/prefixau


파일 합치기 
# cat /tmp/prefix* > /tmp/mygrep
# ls -l /tmp/mygrep 
-rw-r--r-- 1 root root 211224  1월  2 10:00 /tmp/mygrep


md5sum 으로 파일 무결성체크 
# md5sum /bin/grep 
fc9b0a0ff848b35b3716768695bf2427  /bin/grep

# md5sum /tmp/mygrep 
fc9b0a0ff848b35b3716768695bf2427  /tmp/mygrep


이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.