The filed separator in cut command is specified with
-
-a option
-
-d option
-
-r option
-
-x option
Reveal answer
Fill a bubble to check yourself
B
Correct answer
Explanation
The cut command uses the -d option to specify the delimiter (field separator). For example, cut -d: uses : as the delimiter to split input into fields. This is the standard way to define what character separates fields when extracting columns.
AI explanation
-d is correct. The Unix/Linux cut command uses -d to specify the field delimiter (default is tab) together with -f to pick which field(s) to extract, e.g. cut -d',' -f2 file.csv. -a and -x aren't cut options at all, and -r isn't used for delimiter specification either.