Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to list files showing path

📅 2014-May-20 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ find, ls, path ⬩ 📚 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


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧