<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Chan Chen Coding...

    Split Large File in Linux

    Have you ever want to split a large file into several small files? I’ve face this problem few days ago. I need to split a large file (4.4GB log file) into several smaller file where i can read it using normal text editor (vim etc.).

    To split large file into several smaller files, you can use split command in Linux. Just follow the steps below and you will be able to split large file into smaller files. 

    $split -b 100m /path/to/large/file /path/to/output/file/prefix

    • Done. You just split your large file into several smaller files

    * You can change the output file size by changing the –bytes=1m to your preference. You can use b, k, or m. b represent bytes, k represent kilobytes, m represent megabytes.

    To restore the original file, you can use cat command.
    To join all the smaller file to restore the original file type:-

    $cat prefix* > new/file/name



    -----------------------------------------------------
    Silence, the way to avoid many problems;
    Smile, the way to solve many problems;

    posted on 2012-10-22 14:03 Chan Chen 閱讀(528) 評論(0)  編輯  收藏 所屬分類: Linux

    主站蜘蛛池模板: 国产亚洲成在线播放va| 花蝴蝶免费视频在线观看高清版 | 亚洲成av人片在线观看天堂无码| 免费无遮挡无码视频在线观看| 丁香五月亚洲综合深深爱| 3d成人免费动漫在线观看| 亚洲AV电影天堂男人的天堂| 亚洲中文字幕无码久久综合网| 18级成人毛片免费观看| 国产成人亚洲精品播放器下载 | 亚洲色欲久久久综合网东京热| 50岁老女人的毛片免费观看| 美女羞羞喷液视频免费| 久久亚洲精品国产精品黑人| 色吊丝永久在线观看最新免费| a在线观看免费网址大全| 亚洲高清毛片一区二区| 亚洲一区无码中文字幕| 免费高清在线影片一区| 久久免费视频网站| 在线观看亚洲免费| 亚洲午夜精品一区二区公牛电影院 | 亚洲av无码专区在线观看亚| 亚洲av永久无码精品国产精品| 成人免费无码大片a毛片软件 | 国内少妇偷人精品视频免费| 亚洲成av人无码亚洲成av人| 久久久久亚洲精品影视| 又粗又硬又黄又爽的免费视频 | 精品久久洲久久久久护士免费| 久久久久久AV无码免费网站| 男性gay黄免费网站| 亚洲国产成人精品无码一区二区| 久久亚洲色一区二区三区| 啦啦啦在线免费视频| 99爱在线精品视频免费观看9| 一区二区3区免费视频| 亚洲国产精品ⅴa在线观看| 亚洲日本乱码一区二区在线二产线| 亚洲开心婷婷中文字幕| 亚洲乱码中文字幕手机在线|