Answer the question
In order to leave comments, you need to log in
How to sort output twice in Ubuntu?
I want to sort the output of processes
2712 ? 00:00:04 alarm-clock-app
2514 ? 00:00:00 at-spi2-registr
2506 ? 00:00:00 at-spi-bus-laun
2476 ? 00:00:04 bamfdaemon
16431 ? 00:06:24 chromium-browse
16440 ? 00:00:00 chromium-browse
16442 ? 00:00:00 chromium-browse
16502 ? 00:06:51 chromium-browse
16520 ? 00:00:01 chromium-browse
16536 ? 00:00:42 chromium-browse
16540 ? 00:00:00 chromium-browse
16547 ? 00:00:00 chromium-browse
16548 ? 00:00:00 chromium-browse
16560 ? 00:00:05 chromium-browse
16583 ? 00:00:02 chromium-browse
16662 ? 00:00:00 chromium-browse
19872 ? 00:31:10 chromium-browse
ps -U | sort -k2 -n
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question