How can I join 2 ls results ? - I need this because the files are in 2 different directories and I need to sort them in different ways.
Anyway for the output I need a normal listing with both results.
No need to run ls
twice, just put multiple file specifications as arguments.
ls /path/to/first_file_spec* /different_path/to/second_file_spec*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With