Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash print files in directory with path

# Basic syntax:
ls -d "$PWD"/* > list_of_files.txt
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #bash #print #files #directory #path
ADD COMMENT
Topic
Name
9+6 =