ls file name only 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
# List ONLY file names of current folder (non recursive)
ls -A1
# List all files within the current folder (not recursive)
ls -A1