sort

  1. damix9

    Solved Sort command output by a numerical column

    I have a script https://www.linux.org/threads/linux-org-user-created-helpful-shell-scripts.41234/post-249595 It outputs multiple lines, each line has some space-separated values. How to sort the output by 6th value? Treat it as a real number. ./kt.sh info | sort -n -k 6 sorts in some random...
  2. C

    Is there a way to use "sort -o" without a pipe?

    The -o argument is useful because you can turn the program's output into a file for use later. The way i've found you can use this is like: <some-input> | sort -o <new-file-name> however, i wonder if there is a tried and tested way of using sort like this without the pipe?
  3. N

    QTerminal (Kali) - Numeric Sort when numbers at the end

    Hey:) As part of my studies I started learning about Kali Linux as my first ever Linux distro. Lately we learned a bit about the QTerminal, pipes & sorting We now have been given a list with ~10000 words Out of these 10000 words there are 100 words that are similiar but have different numbers...
Top