paste <(cut -d, -f1 data.csv) <(cut -d, -f4 data.csv) | head -2

Category: Data Science & Analysis

paste <(cut -d, -f1 data.csv) <(cut -d, -f4 data.csv) | head -2

Combine two columns side by side with paste

Process substitution (<(...)) runs each cut as a virtual file, and paste places their lines side by side, pairing column 1 with column 4 of the same rows. This is a lightweight way to extract and recombine columns without intermediate files. The head -2 limits the preview. Column counts must match for clean alignment.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.