I'm trying to sort a file using the Sort command but its not working:
The file contains lines like:
photo1
photo11
photo12
photo13
photo17
photo18
photo19
photo2
photo22
photo23
photo25
photo26
photo27
I'm using the command, sort -k6 Photos so that it start sorting after the string "photo", can someone tell where I'm going wrong??
-nor-gto sort numerically. 2.-k5says to use the fifth whitespace-separated field as a key. I'm not suresortcan even handle starting in the middle of a field