In the given data is it possible to uniq sort and print only the top hits against each region?
I'm writing a bash script and I need to create an array with the 10 most recent image files (from new to old) in the current dir.
I consider "image files" to be files with certain extensions, like ....
We are supposed to store our ongoing projects on a rather small (~4TB) data server. Not surprisingly, it is constantly overflowing and people need to move off less recent files manually.
Is there an ...
I have a tab delimited .txt file and want to delete rows that have duplications in the first column. If this can be done without sort, that would be amazing, but I've kind of come to terms with that I ...
I am doing a usual thing that I sort -n but this time it does not work for the following input list, partially like
./firedock-output_308.ref_clashscore_cat_elmo1-NT_rhog1_clashscore:clashscore = 54....
I have a text file that looks something like this
I want to sort this is a way where all lines with OpenFin appears ...
I have a csv file with seven numbers per line like this:
I want to keep the first number ...
I have a file with following values.
keyword1 19.02 1.69.94
keyword2 19.01 1.68.118
keyword3 19.02 1.69.119
keyword4 19.01 1.68.115
keyword5 19.02 1.69.304
keyword6 19.02 1.69.39
I want these to be ...
cat input.txt | sort -k1,1
I am trying to figure out what the ,1 part at the end does in this command. input.txt is a 2 column file. First column is some word and second column is the number 1. -k1 ...
I have a large datafile with xml type tags. Each row refers to a unique item and contains a different number of attribute fields. I need to sort the rows based on numbered tags in that row from lowest ...
I'm not being able to sort files the way I want with my file manager on Linux Mint and I would like to know if there's any hidden config to change that.
For example, I'm sorting:
"a.txt", "(b).txt", ...
I have an array with h4 h5 h1 h2 h3 in it and I would like to sort it according to the numbers, but don't know how. What is the best way to do this?
edit1: I would also like to sort an array via the ...
I'm doing a unique sort on a concatenated set of index files where the first column will sometimes change between each index and the second column will be a key value (actually hex addresses). Each ...
I want to be able to go through a file and find lines that are different in the fields I expect to be stable, ignoring differences in the fields I know will be different.
I want to ignore columns 2,5,...