ls-command-list-one-file-per-line

When I am busy with bash scripts , often need the filename only

 

with ls  command you can populate file names only in different line and you can take the first one with head

 

ls  -1    # 1 is the number not the letter l

and get the first one by

ls -1 |head -1