sorting by first field
echo -e 'x 2\nb 1\nm 3' | sort
sorting by second field
echo -e 'x 2\nb 1\nm 3' | sort -k2
sorting by second field using comma(csv) as field separator
echo -e 'x,2\nb,1\nm,3' | sort -t, -k2
sorting by fifth field with numeric order
df -h | sort -k5n
sorting by fifth field with reverse numeric order
df -h | sort -k5nr
count a chars in file order by last column
awk -F'a' '{print $0,NF-1}' /etc/passwd | rev | sort | rev
sort in numeric order
echo 1 2 10 | tr ' ' '\n' | sort -V
Mobile Access SSL Network Extender (SNX) remote users with Windows 11 24H2 fail to connect
Cause The conflict resolution mechanism in Windows 11 24H2 is different than in earlier versions of Windows. Solution On the Windows endpo...
Mais vistos
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
Kaspersky seems to be storing windows update files on the C Drive: Here -> C:\ProgramData\KasperskyLab\adminkit\1093\.working Change fo...
-
A few cmds to help with the DFS troubleshooting aspects, keep in mind all should be run from an elevated PowerShell Dfsdiag /TestDCs D...