I have a number of files with very long names. Please, is there a way to use ls -C and truncate the file names to get more columns for an overall view?
Or is there a better way to get a compact listing?
You could do something like:
And use it as:
To print the list txt files in columns, truncated to 20 characters.
And to make it a bit crazier, you could add:
That way, you can also do: