Post

A little command-line trick... 🛠️ 🤓 You can use `rev` twice in order to process something from right to left. For example, in order to sort /etc/passwd by shell: cat /etc/passwd | rev | sort | rev

Another option is to simply rely on `sort` options `t` and `k`: cat /etc/passwd | sort -t: -k7

0 reposts1 like

No replies yet.