display the file names in a directory with given names linux code example
Example 1: ls with only file name
# List ONLY file names of current folder (non recursive)
ls -A1
Example 2: ls with only file name
# List all files within the current folder (not recursive)
ls -A1