bash print files in directory with path code example Example: bash print files in directory with path # Basic syntax: ls -d "$PWD"/* > list_of_files.txt