Top "Cut" questions

A Unix shell command that breaks input into fields, which can be selected for output, based on a delimiter.

cut from column X until the end of a tab delimited file

If I have a file with an unknown number of column but I know I want columns X til the …

linux unix cut
Unix cut, remove first token

I'm trying to use Unix cut to remove the first two fields per line. I have input lines of of …

unix cut
Can I change the order of the output fields from the Linux cut command?

I am using cut command in command line and seems I can't get the output I like. Do you have …

linux bash shell awk cut
Should I use cut or awk to extract fields and field substrings?

I have a file with pipe-separated fields. I want to print a subset of field 1 and all of field 2: cat …

sed awk field cut text-parsing
How to grep rows that have value less than 0.2 in a specific column?

ID RT EZ Z0 Z1 Z2 RHO PHE 1889 UN NA 1.0000 0.0000 0.0000 0.8765 -1 1890 UN NA 1.0000 0.0000 0.0000 0.4567 -1 1891 UN NA 1.0000 0.0000 0.0000 0.0012 -1 1892 UN NA 1.0000 0.0000 0.0000 0.1011 -1 …

linux grep cut
prevent newline in cut command

Is it possible to cut a string without a line break? printf 'test.test' prints the test.test without a …

linux newline cut
Unix uniq, sort & cut command remove duplicate lines

If we have the following result: Operating System,50 Operating System,40 Operating System,30 Operating System,23 Data Structure,87 Data Structure,21 Data Structure,17 …

unix sorting command cut uniq
Code for extracting from the right side with cut command?

There is a sample of using the cut command to extract parts of a string starting from the left. An …

bash substring cut
tail -f into grep into cut not working properly

i'm trying to build a shell script to monitor some log files. I'm using a command like this: tail -f /…

bash shell grep tail cut
Cutting the column including size

I want to cut the column which include the size of files . I use ls -l to view info about …

linux bash cut ls