Bash Scripting - Text Processing in Scripts
Which option correctly uses
cut to extract the first 3 characters of each line from a file named data.txt?cut to extract the first 3 characters of each line from a file named data.txt?-c option extracts characters by position, so cut -c 1-3 extracts first 3 characters.-f extracts fields, -d sets delimiter, and -l is invalid for cut.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions