I have a file that has 2 columns like the following:
If a word appears on multiple lines i want to delete all lines that the repeating word ...
I have filenames in the format STR_NUM1_STR_NUM2_NUM3_NUM4_STR.dat. NUM1 repeats for many files. I want to sort the files first based on NUM1 and within each NUM1 group, I want the files to be sorted ...
I have few folders like this with their contents
I have a CSV file containing 220k names that I want to batch import into a graph database. The batch importer imposes the restriction that each node must occur only once so I want to remove duplicates ...
My question is similar to "Merge two sorted files based on sorting values in the same field" but extending it to named pipes.
Say I have two text files with sorted integers and I want to merge them. ...
In my /etc/group file, I had the groups needed for various file shares, with their members listed. Some of these lists are quite long, and I'd like to find a way to sort the members of each group. Is ...
I noticed something interesting and strange in nautilus sorting method. Having a bunch of file named "foo01" to "foo10" plus another one named "foo011", ls returns them in alphabetical order, namely ...
I'm trying to make Linux include special characters when sorting filesnames. The sort order I'm trying to achieve is: first all special characters, then numbers, then letters (case insensitive).
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 ...