Can we use the mv command to move by terminal line numbers?

you could use for instead of $(…) with mv. And then quoting " "

for F in $(...) ; do echo "$F" ; done

Then replace echo with mv

2 Likes