fold Command on Linux: Wrap Long Lines to a Fixed Width
Use fold on Linux to break long lines: fold -w width, fold -s break at spaces, wrap logs…
Read tutorial →Browse step-by-step tutorials in this topic.
Use fold on Linux to break long lines: fold -w width, fold -s break at spaces, wrap logs…
Read tutorial →
Use comm on Linux on sorted files: lines only in file1, only in file2, common lines, suppress columns…
Read tutorial →
Use shuf on Linux to shuffle file lines, pick random samples with -n, echo through shuf, and fairly…
Read tutorial →
Use sort on Linux for text and numbers: sort -n numeric, -k key fields, -r reverse, -u unique,…
Read tutorial →
Use paste on Linux to join lines from multiple files: paste file1 file2, delimiter -d, serial -s row…
Read tutorial →
Use tr on Linux from the shell: translate character sets, tr -d delete chars, squeeze repeats with -s,…
Read tutorial →
Use the cut command on Linux to split lines by delimiter: cut -d, -f1,3 for CSV, cut -c…
Read tutorial →