News:

SMF - Just Installed!

Main Menu

How in ls command show relative path of any file ?

Started by mahesh, Sep 14, 2023, 02:52 AM

Previous topic - Next topic

mahesh

Hello,
I know in Kubuntu 20 a way to show all files under subdirectires :

     Code:
ls -Rl |sort -k5 -hr|more
But I see only short names of files, but I also need to show relative path(to the current directory) of this file ?

How can I get it ?

Thanks in advance!