How to get a list of all directories and files with absolute paths each line

command linels

Using
ls -R /,
i get every file and directory listed that exists, but not with the full file path.

What do I need to write on the command line in order to get a list in such a format, that every line contains an absolute path.

Best Answer

You can get the files with full path with this command:

find / -type f

or list files from the current directory down:

find $(pwd) -type f