Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to list files showing path

📅 2014-May-20 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

The ls command cannot be used to list files and directories showing their full or relative path.

To list files and directories along with their path, use the find command:

$ find $pwd .

Tried with: Ubuntu 14.04