Chinaunix首页 | 论坛 | 博客
  • 博客访问: 464249
  • 博文数量: 108
  • 博客积分: 25
  • 博客等级: 民兵
  • 技术积分: 1134
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-29 19:43
文章分类

全部博文(108)

文章存档

2016年(10)

2015年(9)

2014年(73)

2013年(16)

我的朋友

分类: LINUX

2013-07-21 09:40:18

PLIT(1)                         User Commands                        SPLIT(1)

NAME
       split - split a file into pieces

SYNOPSIS
       split [OPTION] [INPUT [PREFIX]]

DESCRIPTION
       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.

       Mandatory arguments to long options are mandatory for short options too.

       -a, --suffix-length=N  ## 定义后缀长度默认为2 
              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
              print a diagnostic to standard error just before each output file is opened

       --help display this help and exit

       --version
              output version information and exit

       SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.

阅读(1048) | 评论(0) | 转发(0) |
0

上一篇:Linux find 命令

下一篇:Linux 重置root密码

给主人留下些什么吧!~~