eg:指定提取第3個字符
cut -d 3 test.txt
eg:指定提取第3個字符之前所有字符
cut -d -3 test.txt
eg:指定提取第3個字符之后所有字符
cut -d 3- test.txt
eg:指定提取范圍字符,每一行的第三個到第五個字節,以及第8個字節
cut -d 3-5,8 test.txt
eg:以:為分隔符提取第一個域
cut -d : -f 1 test.txt
-f:域提取
eg:指定提取第3個字符
cut -d 3 test.txt
eg:指定提取第3個字符之前所有字符
cut -d -3 test.txt
eg:指定提取第3個字符之后所有字符
cut -d 3- test.txt
eg:指定提取范圍字符,每一行的第三個到第五個字節,以及第8個字節
cut -d 3-5,8 test.txt
eg:以:為分隔符提取第一個域
cut -d : -f 1 test.txt
-f:域提取