<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 閱讀(524) 評論(0)  編輯  收藏 所屬分類: Linux

    主站蜘蛛池模板: 亚洲AV日韩综合一区| 日韩免费视频播放| 国产大片免费天天看| 亚洲中文字幕乱码熟女在线| 久久久久亚洲精品影视| 国产免费午夜a无码v视频| 日本免费网址大全在线观看| 久久免费国产视频| 成人免费无码H在线观看不卡| 亚洲国产精华液2020| 亚洲午夜国产精品| 18gay台湾男同亚洲男同| 久久99国产亚洲高清观看首页| 免费在线观看一级毛片| 好大好深好猛好爽视频免费| 性短视频在线观看免费不卡流畅| 美女在线视频观看影院免费天天看| 男女作爱免费网站| 特级aaaaaaaaa毛片免费视频| 亚洲欧美乱色情图片| 99久久婷婷国产综合亚洲| 久久久久亚洲av无码专区导航| 亚洲国产精品无码久久久蜜芽| 中文字幕精品亚洲无线码二区| 亚洲综合亚洲综合网成人| 亚洲国产主播精品极品网红| 免费国产在线观看不卡| 又粗又黄又猛又爽大片免费| 国产国产人免费视频成69大陆| 国产最新凸凹视频免费| 国产精品久久免费视频| 日韩一级免费视频| 免费人成年轻人电影| 亚洲人成人无码网www国产| 亚洲日韩在线观看| 亚洲精品无码国产| 亚洲国产精华液网站w| 亚洲电影免费在线观看| 亚洲毛片在线免费观看| 亚洲国产综合精品中文第一| 亚洲精品国产综合久久久久紧|