18
rated 0 times
[
18]
[
0]
/ answers: 1 / hits: 5642
/ 3 Years ago, wed, october 27, 2021, 1:55:47
Run Command ls
on Current Directory and get the output:
$ ls
Applications Documents Library Music Public
Desktop Downloads Movies Pictures
I'd like to enumerate them like:
1. Applications
2. Desktop
3. Documents
4. Downloads
5. Library
6. Movies
7. Music
8. Pictures
9. Public
This could be achieved using less
in an intermediate way
ls | less -N
How to enumerate them in a straightforward way?
More From » command-line