Tagged Questions
6
votes
4answers
290 views
Find files alphabetically before a given string
If I have a directory full of files and sub directories. What is the best way to list just the regular files which fall alphabetically before a given string?
Currently the best I can do using bash is ...
3
votes
6answers
836 views
Text file look-up by column
I have a file in this format:
[#] OWNER_NAME NAME SIZE
[6] Robottinosino Software 200
[42] Robottinosino Ideas worth zero 188
[12] ...
10
votes
6answers
2k views
How to print the longest line in a file?
I'm looking for the simplest method to print the longest line in a file. I did some googling and surprisingly couldn't seem to find an answer. I frequently print the length of the longest line in a ...