cut -d. -f1 file : Extract first field (separated by dots) in each line of filecat file | cut -b1-5 : Extract bytes 1 to 5. Works on binary filescut -d, -f1,3 file: Extract fields 1 and 3 from a CSV fileecho "token=abc123xyz" | cut -d= -f2 : Token extraction
ls -l | tr -s ' ' | cut -d' ' -f1,9: Select permissions and file name from directory listing